diff --git a/glance/templates/ingress-registry.yaml b/glance/templates/ingress-registry.yaml index 9f2c0ceb13..b9bbaa36ed 100644 --- a/glance/templates/ingress-registry.yaml +++ b/glance/templates/ingress-registry.yaml @@ -14,7 +14,7 @@ limitations under the License. {{- if and .Values.manifests.ingress_registry .Values.network.registry.ingress.public }} {{- $envAll := . }} -{{- $ingressOpts := dict "envAll" $envAll "backendService" "registry" "backendServiceType" "image_registry" "backendPort" "g-reg" -}} +{{- $ingressOpts := dict "envAll" $envAll "backendServiceType" "image_registry" "backendPort" "g-reg" -}} {{- $secretName := $envAll.Values.secrets.tls.image_registry.api.internal -}} {{- if and .Values.manifests.certificates $secretName -}} {{- $_ := set $ingressOpts "certIssuer" .Values.endpoints.image_registry.host_fqdn_override.default.tls.issuerRef.name -}} diff --git a/glance/values.yaml b/glance/values.yaml index 39518aea40..17d9cc756c 100644 --- a/glance/values.yaml +++ b/glance/values.yaml @@ -574,6 +574,7 @@ secrets: internal: glance-tls-api image_registry: api: + public: glance-tls-reg-public internal: glance-tls-reg # typically overridden by environmental