Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Namespace and Name List #31

Merged
merged 7 commits into from
Dec 27, 2022
Merged

Conversation

Benbentwo
Copy link
Member

what

  • supports a list of any or all value list

why

  • Allows multiple various namespace and name patterns that couldn't be matched except with a singular *:*

@Benbentwo Benbentwo added the minor New features that do not break anything label Dec 23, 2022
Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

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

please add the new variables and add them to the module in the example https://github.com/cloudposse/terraform-aws-eks-iam-role/tree/master/examples/complete

variables.tf Outdated Show resolved Hide resolved
Benbentwo and others added 3 commits December 27, 2022 08:20
Co-authored-by: Andriy Knysh <aknysh@users.noreply.github.com>
@Benbentwo
Copy link
Member Author

/test all

1 similar comment
@Benbentwo
Copy link
Member Author

/test all

@Benbentwo Benbentwo enabled auto-merge (squash) December 27, 2022 17:23
# Usually there is no need to add both service account methods of attachment. But there is precluding you from doing so.
# Multiple Service Account attachments
service_account_namespace_name_list = [
"kube-system:autoscaler",
Copy link
Member

Choose a reason for hiding this comment

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

since it sets the same name and namespace, it will not collide with

service_account_name      = "autoscaler"
  service_account_namespace = "kube-system"

?

Copy link
Member Author

Choose a reason for hiding this comment

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

it actually would, they are joined via &&

examples/complete/main.tf Outdated Show resolved Hide resolved
variables.tf Outdated Show resolved Hide resolved
Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

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

please see comments

@Benbentwo
Copy link
Member Author

/test all

@Benbentwo
Copy link
Member Author

/test all

aws_iam_policy_document = [data.aws_iam_policy_document.autoscaler.json]

context = module.this.context
}
data "aws_iam_policy_document" "autoscaler" {
Copy link
Member

Choose a reason for hiding this comment

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

add an empty line

@Benbentwo Benbentwo merged commit 981bc51 into master Dec 27, 2022
@Benbentwo Benbentwo deleted the feature/service_account_list branch December 27, 2022 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor New features that do not break anything
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants