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

ClusterRoleBinding requires Namespace #50

Open
remissio opened this issue Aug 24, 2022 · 0 comments
Open

ClusterRoleBinding requires Namespace #50

remissio opened this issue Aug 24, 2022 · 0 comments

Comments

@remissio
Copy link

subjects:
- kind: ServiceAccount
name: {{ template "exporter.serviceAccountName" . }}

I'd like to suggest to insert the current Namespace:

subjects:
- kind: ServiceAccount
  name: {{ template "exporter.serviceAccountName" . }}
  namespace: {{ .Release.namespace }}

Kubernetes expects a namespace to be referenced within the ClusterRoleBinding resource. Currently when trying to apply this chart setting "rbac.enabled = true" helm fails.

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

No branches or pull requests

1 participant