-
Notifications
You must be signed in to change notification settings - Fork 807
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
Support pre-created Service Accounts in the Helm chart #485
Comments
I would like this feature as well. Also, the deployment template for |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
I really would like to see this feature |
/good-first-issue |
@ayberk: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Is your feature request related to a problem?/Why is this needed
When using eksctl to build a cluster, it can auto-create Service Accounts with the desired IAMs Roles already configured.
However, the EBS-CSI Helm chart cannot use those existing roles as it tries to create its own, and Helm won't create resources over existing resources; nor should it.
/feature
Describe the solution you'd like in detail
The Helm chart's config allows disabling the creation of Service Accounts, and passing in the name of an existing Service Account for each use-case. This is very common in published Helm charts, e.g.
serviceAccount.create
andserviceAccount.name
in the nginx-ingress chart.Describe alternatives you've considered
The workaround appears to be to create the cluster with eksctl, record the annotations and delete those service accounts, then install the EBS-CSI Helm chart passing the relevant annotations in as parameters.
I considered whether eksctl should be able to skip some ServiceAccounts during cluster creation, but that seems like an unusual case, since as mentioned above it seems that generally you can tell Helm charts to use an existing service account when they need one.
Additional context
This should be a relatively simple change in the chart, as we already have
in the values.yaml, so I expect it would look like
and then changes in the templates to consume the new fields as appropriate.
The text was updated successfully, but these errors were encountered: