You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, an extra variable for role_condition (default "StringEquals") would be a simpler way of allowing the user to specify.
Describe alternatives you've considered.
Dealing with it or continuing to use my custom module.
Additional context
The GitLab helm chart can automatically create many service accounts, but allowing a global annotation to be applied to each. This is a case where hard-coding the (probable) service account names in Terraform would be difficult.
The text was updated successfully, but these errors were encountered:
tculp
changed the title
Support use of role by any service account in a namespace (iam-role-for-service-account-eks)
Support use of role by any service account in a namespace, or other StringLike patterns (iam-role-for-service-account-eks)
Mar 7, 2022
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is your request related to a new offering from AWS?
No
Is your request related to a problem? Please describe.
Sometimes service accounts are created dynamically, such that it would be challenging to provide the exact service account names.
Describe the solution you'd like.
It would be useful to be able to provide a regex string to represent the service accounts, such as namespace:*.
StringEquals is currently the only supported option.
I'm currently using a custom role that does the following:
However, it theoretically could also be done by determining if any
sa
instatement.value.namespace_service_accounts
contains aStringLike
-supported character (* or ?) per https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String.Alternatively, an extra variable for role_condition (default "StringEquals") would be a simpler way of allowing the user to specify.
Describe alternatives you've considered.
Dealing with it or continuing to use my custom module.
Additional context
The GitLab helm chart can automatically create many service accounts, but allowing a global annotation to be applied to each. This is a case where hard-coding the (probable) service account names in Terraform would be difficult.
The text was updated successfully, but these errors were encountered: