+{{- $certPath := .Values.appmgr.appcertpath | default "/opt/ric/certificates" }}
+{{- $secretPath := .Values.appmgr.appsecretpath | default "/opt/ric/secret" }}
+{{- $servicename := include "common.servicename.tiller" $ctx }}
+{{- $servicenamespace := include "common.tillerDeployNameSpace" $ctx }}
+{{- $serviceport := include "common.tillerPort" $ctx }}
+ HELM_HOST: {{ printf "%s.%s:%s" $servicename $servicenamespace $serviceport | quote }}
+{{- if eq (include "common.tillerTLSVerify" $ctx) "true" }}
+ HELM_TLS_VERIFY: "true"
+ HELM_TLS_CA_CERT: "{{ $secretPath }}/tiller-ca.cert"
+ HELM_TLS_HOSTNAME: {{ $servicename | quote }}
+{{- end }}
+{{- if eq (include "common.tillerTLSAuthenticate" $ctx) "true" }}
+ HELM_TLS_ENABLED: "true"
+ HELM_TLS_CERT: "{{ $secretPath }}/helm-client.cert"
+ HELM_TLS_KEY: "{{ $secretPath }}/helm-client.key"
+{{- end }}