From c1bf5cdfc6d4eade6ecea68be5c747104d3665c0 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Mon, 26 Sep 2022 15:17:26 +0200 Subject: [PATCH] fix(common): check primary service account tag --- charts/common/templates/spawner/_serviceaccount.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/common/templates/spawner/_serviceaccount.tpl b/charts/common/templates/spawner/_serviceaccount.tpl index 87288ccc..89f1cc2a 100644 --- a/charts/common/templates/spawner/_serviceaccount.tpl +++ b/charts/common/templates/spawner/_serviceaccount.tpl @@ -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 -}}