From ca0244fd63f5854271b7c0447c088ed6910e517d Mon Sep 17 00:00:00 2001 From: rconway Date: Fri, 18 Aug 2023 15:42:00 +0000 Subject: [PATCH] Commit triggered by a change on the main branch of helm-charts-dev --- charts/application-hub/Chart.yaml | 2 +- charts/application-hub/templates/ingress.yaml | 6 ++++-- charts/application-hub/values.yaml | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/charts/application-hub/Chart.yaml b/charts/application-hub/Chart.yaml index 55686f0..b4b0cf6 100644 --- a/charts/application-hub/Chart.yaml +++ b/charts/application-hub/Chart.yaml @@ -15,7 +15,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: 2.0.46 +version: 2.0.47 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/application-hub/templates/ingress.yaml b/charts/application-hub/templates/ingress.yaml index 06f1409..c1e6791 100644 --- a/charts/application-hub/templates/ingress.yaml +++ b/charts/application-hub/templates/ingress.yaml @@ -20,8 +20,10 @@ metadata: name: {{ $fullName }}-ingress namespace: proc annotations: + {{- if .Values.ingress.clusterIssuer }} + cert-manager.io/cluster-issuer: {{ .Values.ingress.clusterIssuer }} + {{- end }} kubernetes.io/ingress.class: nginx - cert-manager.io/cluster-issuer: letsencrypt nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/proxy-read-timeout: "600" spec: @@ -58,4 +60,4 @@ spec: {{- end }} {{- end }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/application-hub/values.yaml b/charts/application-hub/values.yaml index a1bbeba..a680beb 100644 --- a/charts/application-hub/values.yaml +++ b/charts/application-hub/values.yaml @@ -38,6 +38,7 @@ ingress: pathSuffix: pathType: Prefix tls: [] + clusterIssuer: "letsencrypt" resources: {} # We usually recommend not to specify default resources and to leave this as a conscious