-
Notifications
You must be signed in to change notification settings - Fork 209
fix(helm): Ensure non-default service account name works with namespaces-cache and configmaps-cache role bindings #557
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
Conversation
…ces-cache and configmaps-cache role bindings
Hi @gunzy83. Thanks for your PR. I'm waiting for a aws-controllers-k8s member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
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.
Thank you @gunzy83!!
/approve
/assign @michaelhtm
/ok-to-test |
@gunzy83: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
/hold |
@mtougeron @eadasiak any thoughts on this change? i'm wondering how did this work with all the CARM installations we've done before? |
I'm not sure about the code that generates these templates, but I'm assuming it's probably that whatever populates For example, the rendered Deployment manifest uses serviceAccount:
name: foo in their values.yaml (or via |
I think this is only a problem when |
Thank you @gunzy83 and @mtougeron !! Yeah looks like there is an edge case where there is a namespace mismatch between the service account name and the binding. I just tested this patch with new controllers and it's indeed generating the expected namespace value. |
/unhold |
👍 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: a-hilaly, gunzy83, michaelhtm The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks everyone! 🎉 |
Issue #, if available: N/A
Relates to aws-controllers-k8s/kms-controller#83
Description of changes: This change ensures that the required
ClusterRoleBinding
andRoleBinding
objects apply to aServiceAccount
with a custom name.Error seen with custom service account name:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.