From c7c02ef416c35a8680f2cdd08340471d46241d4f Mon Sep 17 00:00:00 2001 From: Matt Clegg Date: Thu, 28 Nov 2024 14:19:02 +0000 Subject: [PATCH] SRE-000: ADD labels to RBAC (#15) --- charts/base/templates/_rbac.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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