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;fp=ric-infra%2F15-Chartmuseum%2Fhelm%2Fchartmuseum%2Ftemplates%2F_gen-cert.tpl;h=7de54a19c9e8e1d1523f8ca21d0d2dccddd03e65;hb=76eae6abc4d7b37d7e1852bb5f6e15ac2f081eb1;hp=fa34a0a7b2a0cff208f5317d67a63ba4714599d4;hpb=f1e9d069ec4ae0e35202b1d508f2652986036342;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 fa34a0a7..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.helm" . ) -}} +{{- $altNames := list ( include "common.ingressurl.aux" . ) -}} {{- $ca := genCA "docker-registry-ca" 365 -}} -{{- $cert := genSignedCert ( include "common.ingressurl.helm" . ) 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 -}}