From 4c7649fe701a578e6cbfe7ef05c107a1071c1edf Mon Sep 17 00:00:00 2001 From: ihiverlet Date: Fri, 26 Jan 2024 07:41:41 +0000 Subject: [PATCH] superset- add use of certmanager --- charts/superset/Chart.yaml | 4 ++-- charts/superset/templates/ingress.yaml | 3 +++ charts/superset/values.yaml | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/superset/Chart.yaml b/charts/superset/Chart.yaml index bb0ff3e..3bdb579 100644 --- a/charts/superset/Chart.yaml +++ b/charts/superset/Chart.yaml @@ -22,7 +22,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: 0.0.7 +version: 0.0.8 # 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 @@ -33,5 +33,5 @@ dependencies: version: 0.10.11 repository: https://apache.github.io/superset - name: library-chart - version: 1.5.15 + version: 1.5.19 repository: https://inseefrlab.github.io/helm-charts-interactive-services diff --git a/charts/superset/templates/ingress.yaml b/charts/superset/templates/ingress.yaml index 4986081..5ff02dc 100644 --- a/charts/superset/templates/ingress.yaml +++ b/charts/superset/templates/ingress.yaml @@ -16,6 +16,9 @@ spec: tls: - hosts: - {{ .Values.ingress.hostname | quote }} + {{- if .Values.ingress.useCertManager }} + secretName: tls-cert-{{ include "library-chart.fullname" . }} + {{- end }} {{- end }} rules: - host: {{ .Values.ingress.hostname | quote }} diff --git a/charts/superset/values.yaml b/charts/superset/values.yaml index 8797d70..515e13f 100644 --- a/charts/superset/values.yaml +++ b/charts/superset/values.yaml @@ -74,6 +74,8 @@ ingress: # - secretName: chart-example-tls # hosts: # - chart-example.local + useCertManager: false + certManagerClusterIssuer: "" userPreferences: language: "en"