diff --git a/charts/base/templates/_rbac.tpl b/charts/base/templates/_rbac.tpl index 01f99a4..532acb7 100644 --- a/charts/base/templates/_rbac.tpl +++ b/charts/base/templates/_rbac.tpl @@ -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 }} @@ -202,5 +203,4 @@ metadata: {{- end }} {{- end }} {{- end }} - {{- end }} \ No newline at end of file