X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F15-Chartmuseum%2Fhelm%2Fchartmuseum%2Ftemplates%2F_gen-cert.tpl;h=fa34a0a7b2a0cff208f5317d67a63ba4714599d4;hb=cf28a83dfa8e7803391c76347f24081bbf91b63b;hp=9dcbdb94ff643189785c2249d90de1b9ab2e5541;hpb=1c4ca31af79d1b399ea506080b8b248cf514feb2;p=it%2Fdep.git diff --git a/ric-infra/15-Chartmuseum/helm/chartmuseum/templates/_gen-cert.tpl b/ric-infra/15-Chartmuseum/helm/chartmuseum/templates/_gen-cert.tpl index 9dcbdb94..fa34a0a7 100644 --- a/ric-infra/15-Chartmuseum/helm/chartmuseum/templates/_gen-cert.tpl +++ b/ric-infra/15-Chartmuseum/helm/chartmuseum/templates/_gen-cert.tpl @@ -20,9 +20,9 @@ Generate certificates for the docker registry */}} {{- define "chartmuseum.gen-cert" -}} -{{- $altNames := list ( include "common.ingressurl.localhelm" . ) -}} +{{- $altNames := list ( include "common.ingressurl.helm" . ) -}} {{- $ca := genCA "docker-registry-ca" 365 -}} -{{- $cert := genSignedCert ( include "common.ingressurl.localhelm" . ) nil $altNames 365 $ca -}} +{{- $cert := genSignedCert ( include "common.ingressurl.helm" . ) nil $altNames 365 $ca -}} tls.crt: {{ $cert.Cert | b64enc }} tls.key: {{ $cert.Key | b64enc }} {{- end -}}