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=7de54a19c9e8e1d1523f8ca21d0d2dccddd03e65;hb=refs%2Fchanges%2F68%2F868%2F2;hp=9dcbdb94ff643189785c2249d90de1b9ab2e5541;hpb=b361b2091909dc2e77d4d172b95c210f8b1b2abb;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..7de54a19 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.aux" . ) -}} {{- $ca := genCA "docker-registry-ca" 365 -}} -{{- $cert := genSignedCert ( include "common.ingressurl.localhelm" . ) nil $altNames 365 $ca -}} +{{- $cert := genSignedCert ( include "common.ingressurl.aux" . ) nil $altNames 365 $ca -}} tls.crt: {{ $cert.Cert | b64enc }} tls.key: {{ $cert.Key | b64enc }} {{- end -}}