From 6c3be8d6e7e87dd40c6f2c4e70981af6f1123740 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Tue, 22 Nov 2022 15:16:30 +0200 Subject: [PATCH] add comments --- library/common/1.0.0/templates/lib/chart/_names.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/library/common/1.0.0/templates/lib/chart/_names.tpl b/library/common/1.0.0/templates/lib/chart/_names.tpl index d3ca63ff..d58d19b9 100644 --- a/library/common/1.0.0/templates/lib/chart/_names.tpl +++ b/library/common/1.0.0/templates/lib/chart/_names.tpl @@ -62,6 +62,7 @@ nameOverride applies only to the current chart {{- end -}} {{- end -}} +{{/* Returns the serviceAccoutName. The name of the primary, if any, otherwise "default" */}} {{- define "ix.v1.common.names.serviceAccountName" -}} {{- $serviceAccountName := "default" -}} {{- range $name, $serviceAccount := .Values.serviceAccount -}}