fix(common): check primary service account tag

This commit is contained in:
Kjeld Schouten-Lebbing
2022-09-26 15:17:26 +02:00
committed by GitHub
parent 4c5ad441c2
commit c1bf5cdfc6

View File

@@ -8,7 +8,7 @@ Renders the serviceAccount objects required by the chart.
{{- $saValues := $serviceAccount -}}
{{/* set the default nameOverride to the serviceAccount name */}}
{{- if and (not $saValues.nameOverride) (ne $name (include "tc.common.lib.util.service.primary" $)) -}}
{{- if and (not $saValues.nameOverride) (ne $name (include "tc.common.lib.util.serviceaccount.primary" $)) -}}
{{- $_ := set $saValues "nameOverride" $name -}}
{{ end -}}