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

serviceAccountNameOverride helm parm to add RBAC #266

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

spilchen
Copy link
Collaborator

Prior to this change, when using the serviceAccountNameOverride we assumed that the ServiceAccount was fully setup. So, we didn't apply any RBAC rules to the ServiceAccount. To make it easier to deploy with an existing ServiceAccount, we will now apply the Role/RoleBinding creation to the given ServiceAccount.

This makes it easier to use AWS IRSA (#200), which requires a preexisting ServiceAccount. The operator will apply the RBAC rules needed by the operator the ServiceAccount specified.

The old behaviour existed to allow for helm install by users that don't have admin privileges to the k8s cluster. To get the old behaviour you need to use set a new parameter 'skipRoleAndRoleBindingCreation=true'.

Prior to this change, when using the serviceAccountNameOverride we
assumed that the ServiceAccount was fully setup. So, we didn't apply any
RBAC rules to the ServiceAccount. To make it easier to deploy with an
existing ServiceAccount, we will now apply the Role/RoleBinding creation
to the given ServiceAccount.

This makes it easier to use AWS IRSA with a precreated serviceAccount.
The operator will apply the RBAC rules needed by the operator the
serviceAccount specified.

The old behavior existed to allow for helm install by users that don't
have admin privileges to the k8s cluster. To get the old behaviour you
need to use set a new parameter 'skipRoleAndRoleBindingCreation=true'.
@spilchen spilchen self-assigned this Oct 13, 2022
@spilchen spilchen merged commit 5c73083 into vertica:main Oct 14, 2022
@spilchen spilchen deleted the helm-apply-roles-to-existing-sa branch October 14, 2022 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant