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

Service account doesn't get RoleBinding assigned when it's given a custom name #107

Open
calvo2024 opened this issue Dec 5, 2024 · 0 comments · May be fixed by #108
Open

Service account doesn't get RoleBinding assigned when it's given a custom name #107

calvo2024 opened this issue Dec 5, 2024 · 0 comments · May be fixed by #108
Labels
bug Something isn't working

Comments

@calvo2024
Copy link

The values.yaml file allows users to specify a custom name for TFE service account: https://github.com/hashicorp/terraform-enterprise-helm/blob/main/values.yaml#L23

However, the RoleBinding resource is configured to have the role assigned to a service account with the default name, i.e. the Namespace's name: https://github.com/hashicorp/terraform-enterprise-helm/blob/main/templates/rbac.yaml#L58

This creates authorization errors when the service account is given a name different than the namespace's name.

@nikolasrieble nikolasrieble added the bug Something isn't working label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants