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

Permissions Check for Custom Service Accounts #718

Open
gambol99 opened this issue May 10, 2023 · 0 comments
Open

Permissions Check for Custom Service Accounts #718

gambol99 opened this issue May 10, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gambol99
Copy link
Member

Is your feature request related to a problem? Please describe.

Currently the RBAC provided in the helm chart is geared around the user using the default terraform-system/terraform-executor service account. If they define another service account via a Provider CRD, they need to ensure the service account has the correct RBAC permissions. At the moment this isn't obvious and leads to errors.

Describe the solution you'd like

Short-term we can update the docs - a better solution would be to check the service account has the correct permission in the first place and work on the Provider CRD status.

Additional context

We could use a SubjectAccessReview to check the permissions of the service account and ensure it's fit for purpose.

@gambol99 gambol99 added the enhancement New feature or request label May 10, 2023
@gambol99 gambol99 self-assigned this May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant