Skip to content

Commit

Permalink
SRE-000: ADD labels to RBAC (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattclegg authored Nov 28, 2024
1 parent 87c5cd3 commit c7c02ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/base/templates/_rbac.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,11 @@ roleRef:
apiVersion: v1
kind: ServiceAccount
metadata:
{{- with .labels }}
labels:
{{- include "base.labels" $root | trim | nindent 4 }}
{{- with .labels }}
{{- toYaml . | trim | nindent 4 }}
{{- end }}
{{- end }}
{{- with .annotations }}
annotations:
{{- toYaml . | trim | nindent 4 }}
Expand All @@ -202,5 +203,4 @@ metadata:
{{- end }}
{{- end }}
{{- end }}

{{- end }}

0 comments on commit c7c02ef

Please sign in to comment.