- {{- if hasKey $topctx.Values "global" }}
- {{- if hasKey $topctx.Values.global "tillers" }}
- {{- $ctx := index $topctx.Values.global.tillers .key -}}
+ {{- if hasKey $topctx.Values "common" }}
+ {{- if hasKey $topctx.Values.common "tillers" }}
+ {{- $ctx := index $topctx.Values.common.tillers .key -}}
{{- if not (empty $ctx) -}}
{{- $newctx := dict "ctx" $ctx "printkeys" .printkey -}}
{{- include "recursiveprinter" $newctx -}}
{{- if not (empty $ctx) -}}
{{- $newctx := dict "ctx" $ctx "printkeys" .printkey -}}
{{- include "recursiveprinter" $newctx -}}
{{- define "common.tillerHelmClientTLSSecret" -}}
{{- $tlsverify := include "common.tillerTLSVerify" . }}
{{- $tlsauthenticate := include "common.tillerTLSAuthenticate" . }}
{{- define "common.tillerHelmClientTLSSecret" -}}
{{- $tlsverify := include "common.tillerTLSVerify" . }}
{{- $tlsauthenticate := include "common.tillerTLSAuthenticate" . }}
{{- define "common.serviceaccountname.tiller" -}}
{{- $name := ( include "common.tillerName" . ) -}}
{{- printf "svcacct-tiller-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- define "common.serviceaccountname.tiller" -}}
{{- $name := ( include "common.tillerName" . ) -}}
{{- printf "svcacct-tiller-%s" $name | trunc 63 | trimSuffix "-" -}}
- {{- if hasKey $topctx.Values "global" }}
- {{- if hasKey $topctx.Values.global "tillers" }}
- {{- $ctx := index $topctx.Values.global.tillers .key -}}
+ {{- if hasKey $topctx.Values "common" }}
+ {{- if hasKey $topctx.Values.common "tillers" }}
+ {{- $ctx := index $topctx.Values.common.tillers .key -}}
{{- if not (empty $ctx) -}}
{{- if hasKey $ctx "name" -}}
{{- $name := include "common.tillerName" . -}}
{{- if not (empty $ctx) -}}
{{- if hasKey $ctx "name" -}}
{{- $name := include "common.tillerName" . -}}