From 1c99ee7a1174cbd1ead3d03ddf025ebaa225b296 Mon Sep 17 00:00:00 2001 From: Paulo Sousa Date: Mon, 29 Jul 2024 10:22:49 -0300 Subject: [PATCH] kubernetes-router: allow multicluster custom secret --- charts/kubernetes-router/Chart.yaml | 2 +- charts/kubernetes-router/templates/deployment.yaml | 2 +- charts/kubernetes-router/values.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/kubernetes-router/Chart.yaml b/charts/kubernetes-router/Chart.yaml index ae8d905..3c81aac 100644 --- a/charts/kubernetes-router/Chart.yaml +++ b/charts/kubernetes-router/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: 0.1.15 +version: 0.1.16 # 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/kubernetes-router/templates/deployment.yaml b/charts/kubernetes-router/templates/deployment.yaml index 75e475f..7312edd 100644 --- a/charts/kubernetes-router/templates/deployment.yaml +++ b/charts/kubernetes-router/templates/deployment.yaml @@ -110,7 +110,7 @@ spec: {{- if .Values.multiCluster.enabled }} - name: clusters secret: - secretName: kubernetes-router-clusters + secretName: {{ .Values.multiCluster.secretName }} {{- end }} {{- if .Values.hostCertBundleFile }} - name: host-cert-bundle diff --git a/charts/kubernetes-router/values.yaml b/charts/kubernetes-router/values.yaml index d9529b0..33bce9a 100644 --- a/charts/kubernetes-router/values.yaml +++ b/charts/kubernetes-router/values.yaml @@ -33,6 +33,7 @@ ingressExpose: {} # multicluster support multiCluster: enabled: false + secretName: "kubernetes-router-clusters" hostCertBundleFile: ""