GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 69 support irsa by sshi100 · Pull Request #74 · commitdev/zero-aws-eks-stack

Conversation

@sshi100

@sshi100 sshi100 commented Aug 31, 2020

Copy link
Copy Markdown
Contributor

Please help review @bmonkman

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

thdaraujo reacted with rocket emoji
All reactions
  • 🚀 1 reaction
sshi100 and others added 5 commits August 31, 2020 00:39
@sshi100
initial commits for IRSA support
927a050
@sshi100
fixes with irsa
55f7e98
@sshi100
refresh naming
58b3dda
@sshi100
refresh naming
299ad0f
@sshi100
Updated README for IRSA
8bc3468
@sshi100
sshi100 requested a review from bmonkman August 31, 2020 17:35
bmonkman
bmonkman reviewed Aug 31, 2020
View reviewed changes
Comment thread templates/kubernetes/terraform/modules/kubernetes/irsa.tf Outdated
# application_policy_list = [
# {
# service_account = "app1"
# namespace = "piggycloud-me"

@bmonkman bmonkman Aug 31, 2020

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just "my-app" instead of "piggycloud"? And just one map in the list to make it shorter?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@sshi100 sshi100 Aug 31, 2020

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
bmonkman
bmonkman reviewed Aug 31, 2020
View reviewed changes
Comment thread templates/kubernetes/terraform/modules/kubernetes/irsa.tf Outdated
# Create policies
resource "aws_iam_policy" "irsa" {
count = length(var.application_policy_list)
name_prefix = var.project

@bmonkman bmonkman Aug 31, 2020

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably be project + environment in case someone has two environments in a single aws account.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@sshi100 sshi100 Aug 31, 2020

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sshi100 sshi100 mentioned this pull request Aug 31, 2020
Create an easy way to set up new roles and serviceaccounts for user applications #69
Closed
sshi100 and others added 2 commits August 31, 2020 11:46
@sshi100
fixes per review
0698692
@bmonkman
Added more detailed documentation
81e7452
bmonkman
bmonkman reviewed Aug 31, 2020
View reviewed changes
Comment thread templates/kubernetes/terraform/environments/dev/application_iam_policy.tf Outdated

# define policy documents for applications
# sample policies
data "aws_iam_policy_document" "resource_access_app1" {

@bmonkman bmonkman Aug 31, 2020

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In all these files can you just make it a single example? The second one doesn't really provide any benefit.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
bmonkman
bmonkman reviewed Aug 31, 2020
View reviewed changes
Comment thread templates/kubernetes/terraform/environments/stage/main.tf Outdated
# Application policy list
application_policy_list = [
{
service_account = "app1"

@bmonkman bmonkman Aug 31, 2020

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we change this service account name to "backend-service" or something and then also change the zero-deployable-backend project to use this service account?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sshi100
adjusted per review
03a84ad
bmonkman
bmonkman approved these changes Aug 31, 2020
View reviewed changes
@sshi100
sshi100 merged commit e01c4c2 into main Aug 31, 2020
@sshi100
sshi100 deleted the 69-support-IRSA branch August 31, 2020 21:39
@sshi100 sshi100 linked an issue Sep 1, 2020 that may be closed by this pull request
Create an easy way to set up new roles and serviceaccounts for user applications #69
Closed
bmonkman added a commit that referenced this pull request Oct 10, 2020
@sshi100 @bmonkman
69 support irsa (#74)
37686f0
* initial commits for IRSA support

* fixes with irsa

* refresh naming

* refresh naming

* Updated README for IRSA

* fixes per review

* Added more detailed documentation

* adjusted per review

Co-authored-by: Bill Monkman <[email protected]>
@sshi100 sshi100 self-assigned this Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@bmonkman bmonkman bmonkman approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@sshi100 sshi100

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Create an easy way to set up new roles and serviceaccounts for user applications

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@sshi100 @bmonkman
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.