Use custom trust domain with contour
With the introduction of Custom Trust domains the helm chart should
use the trust domain when creating contour SAN configuration
@@ -38,7 +38,7 @@ data:
"serviceCertValidityDuration": {{.Values.osm.certificateProvider.serviceCertValidityDuration | mustToJson}},
{{- if .Values.contour.enabled }}
"ingressGateway": {
- "subjectAltNames": ["osm-contour-envoy.{{include "osm.namespace" .}}.cluster.local"],
+ "subjectAltNames": ["osm-contour-envoy.{{include "osm.namespace" .}}.{{.Values.osm.trustDomain}}"],
"validityDuration": "24h",
"secret": {
"name": "osm-contour-envoy-client-cert",
