X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fhelm%2Fappmgr%2Ftemplates%2Fenv.yaml;fp=ric-platform%2F50-RIC-Platform%2Fhelm%2Fappmgr%2Ftemplates%2Fenv.yaml;h=e87d3e16471dd81b50a6e7a649cca95d012765b9;hb=f1e9d069ec4ae0e35202b1d508f2652986036342;hp=69ef4a14e9876080aaeb96b0bc3ecd52d2a6d083;hpb=44fb7269ad17f3e307ab32bc85e737bf9ce1339f;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/helm/appmgr/templates/env.yaml b/ric-platform/50-RIC-Platform/helm/appmgr/templates/env.yaml index 69ef4a14..e87d3e16 100644 --- a/ric-platform/50-RIC-Platform/helm/appmgr/templates/env.yaml +++ b/ric-platform/50-RIC-Platform/helm/appmgr/templates/env.yaml @@ -30,10 +30,14 @@ data: RMR_RTG_SVC: {{ include "common.serviceport.appmgr.rmr.route" . | quote }} {{- $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: {{ include "common.servicename.tiller" $ctx | quote }} + HELM_TLS_HOSTNAME: {{ $servicename | quote }} {{- end }} {{- if eq (include "common.tillerTLSAuthenticate" $ctx) "true" }} HELM_TLS_ENABLED: "true"