mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 14:36:22 -03:00
fix(common): check primary service account tag
This commit is contained in:
committed by
GitHub
parent
4c5ad441c2
commit
c1bf5cdfc6
@@ -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 -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user