From 63195c8dcdce937735ad9a310888bac7de087b0b Mon Sep 17 00:00:00 2001 From: Max Metral Date: Mon, 18 Dec 2023 22:15:13 -0500 Subject: [PATCH] feat(sidecar): allow extraContainers in values.yaml to enable sidecars like CloudSQL proxy --- charts/mageai/Chart.yaml | 4 ++-- charts/mageai/templates/deployment.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/mageai/Chart.yaml b/charts/mageai/Chart.yaml index bc54e8d..aee5178 100644 --- a/charts/mageai/Chart.yaml +++ b/charts/mageai/Chart.yaml @@ -35,7 +35,7 @@ apiVersion: v2 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.9.44" +appVersion: "0.9.55" description: A Helm chart for Mage AI @@ -72,4 +72,4 @@ 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.5 +version: 0.2.0 diff --git a/charts/mageai/templates/deployment.yaml b/charts/mageai/templates/deployment.yaml index c3442e2..75f34ad 100644 --- a/charts/mageai/templates/deployment.yaml +++ b/charts/mageai/templates/deployment.yaml @@ -109,6 +109,9 @@ spec: {{- else if .Values.extraVolumeMounts }} {{- toYaml .Values.extraVolumeMounts | nindent 12 }} {{- end }} + {{- if .Values.extraContainers }} + {{- toYaml .Values.extraContainers | nindent 12 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}