From b8cae0cc911cb511bdcf287b7ddf29fb03eec8d7 Mon Sep 17 00:00:00 2001 From: Justin Bertrand Date: Tue, 24 Jan 2023 14:59:28 -0500 Subject: [PATCH] feat(istio-ingress-gateway): Sync with recent changes in master branch --- stable/istio-ingress-gateway/Chart.yaml | 2 +- stable/istio-ingress-gateway/templates/certificate.yaml | 2 +- stable/istio-ingress-gateway/templates/envoyfilter-hsts.yaml | 2 +- stable/istio-ingress-gateway/templates/gateway-https.yaml | 2 +- stable/istio-ingress-gateway/values.yaml | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/stable/istio-ingress-gateway/Chart.yaml b/stable/istio-ingress-gateway/Chart.yaml index 15bfb177..dbb2e261 100644 --- a/stable/istio-ingress-gateway/Chart.yaml +++ b/stable/istio-ingress-gateway/Chart.yaml @@ -18,7 +18,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.0.2 +version: 3.0.3 dependencies: - name: gateway diff --git a/stable/istio-ingress-gateway/templates/certificate.yaml b/stable/istio-ingress-gateway/templates/certificate.yaml index 4c77e217..2e274935 100644 --- a/stable/istio-ingress-gateway/templates/certificate.yaml +++ b/stable/istio-ingress-gateway/templates/certificate.yaml @@ -15,7 +15,7 @@ spec: issuerRef: kind: {{ .Values.https.certificate.issuerRef.kind }} name: {{ .Values.https.certificate.issuerRef.name }} - secretName: {{ .Values.https.certificate.secretName }} + secretName: {{ .Values.https.certificate.secretName | default (include "istio-ingress-gateway.fullname" .) | quote }} privateKey: rotationPolicy: Always {{- end }} diff --git a/stable/istio-ingress-gateway/templates/envoyfilter-hsts.yaml b/stable/istio-ingress-gateway/templates/envoyfilter-hsts.yaml index f431ba4b..59a4bb99 100644 --- a/stable/istio-ingress-gateway/templates/envoyfilter-hsts.yaml +++ b/stable/istio-ingress-gateway/templates/envoyfilter-hsts.yaml @@ -18,7 +18,7 @@ spec: subFilter: name: envoy.filters.http.router patch: - operation: INSERT_BEFORE + operation: INSERT_FIRST value: name: envoy.lua typed_config: diff --git a/stable/istio-ingress-gateway/templates/gateway-https.yaml b/stable/istio-ingress-gateway/templates/gateway-https.yaml index cdec93b6..692068b5 100644 --- a/stable/istio-ingress-gateway/templates/gateway-https.yaml +++ b/stable/istio-ingress-gateway/templates/gateway-https.yaml @@ -26,7 +26,7 @@ spec: protocol: HTTPS tls: cipherSuites: {{ .Values.https.cipherSuites | toYaml | nindent 8 }} - credentialName: {{ .Values.https.certificate.secretName }} + credentialName: {{ .Values.https.certificate.secretName | default (include "istio-ingress-gateway.fullname" .) | quote }} maxProtocolVersion: TLSV1_2 minProtocolVersion: TLSV1_2 mode: SIMPLE diff --git a/stable/istio-ingress-gateway/values.yaml b/stable/istio-ingress-gateway/values.yaml index 3dada204..2a510b18 100644 --- a/stable/istio-ingress-gateway/values.yaml +++ b/stable/istio-ingress-gateway/values.yaml @@ -53,6 +53,7 @@ https: # Configures a cert-manager Certificate for automated certificate generation. certificate: # Defines the name of the secret that will contain the certificates. + # Will automatically be generated if left blank. secretName: # Defines list of DNS names for the certificate. # Note: The first entry is set as the common name.