Skip to content

Commit

Permalink
fix(rolebinding.yaml): remove duplicate 'name' field in the 'subjects…
Browse files Browse the repository at this point in the history
…' section to fix syntax error

feat(rolebinding.yaml): add support for namespaced RBAC by including the 'namespace' field in the 'subjects' section
  • Loading branch information
jacobredesign committed Jun 30, 2023
1 parent a66b142 commit c88bc57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ roleRef:
name: {{ include "kubernetes-event-exporter.fullname" . }}
subjects:
- kind: ServiceAccount
name: {{ include "kubernetes-event-exporter.fullname" . }}
{{- if .Values.rbac.namespaced }}
namespace: {{ include "kubernetes-event-exporter.namespace" . }}
{{- end }}
name: {{ include "kubernetes-event-exporter.fullname" . }}
{{- end }}

0 comments on commit c88bc57

Please sign in to comment.