Merge R3 into master
[it/dep.git] / ric-common / Common-Template / helm / ric-common / templates / _tiller.tpl
@@ -35,9 +35,9 @@
 
 {{- define "printer" -}}
   {{- $topctx := .ctx }}
-  {{- 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 -}}
@@ -92,6 +92,7 @@
   {{- default false (include "printer" $newctx) -}}
 {{- end -}}
 
+
 {{- define "common.tillerHelmClientTLSSecret" -}}
   {{- $tlsverify := include "common.tillerTLSVerify" . }}
   {{- $tlsauthenticate := include "common.tillerTLSAuthenticate" . }}
 {{- end -}}
 
 
-
-
 {{- define "common.serviceaccountname.tiller" -}}
   {{- $name := ( include "common.tillerName" . ) -}}
   {{- printf "svcacct-tiller-%s" $name | trunc 63 | trimSuffix "-" -}}
 
 {{- define "common.servicename.tiller" -}}
   {{- $topctx := .ctx }}
-  {{- 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" . -}}