Cluster Role Binding subjects namespace incorrect when overriding namespace #953
Labels
bug
Something isn't working
chart:collector
Issue related to opentelemetry-collector helm chart
good first issue
Good for newcomers
help wanted
Extra attention is needed
Hi.
I've observed an issue when deploying the collector chart with an overriden namespace.
The clusterrolebinding gets the wrong subject namespace and incorrect access as a result.
I believe the issue is located here:
charts/opentelemetry-collector/templates/clusterrolebinding.yaml
Line 21:
namespace: {{ .Release.Namespace }}
I belive? it should be something like:
namespace: {{ template "opentelemetry-collector.namespace" . }}
The text was updated successfully, but these errors were encountered: