From 5acab1f7362dae2e1d1ae3d8050325e017dcc2d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilson=20J=C3=BAnior?= Date: Wed, 10 Apr 2024 16:06:11 -0300 Subject: [PATCH] tsuru-api: Add section to set up keda parameters on configmap --- charts/tsuru-api/Chart.yaml | 4 ++-- charts/tsuru-api/templates/configmap.yaml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/tsuru-api/Chart.yaml b/charts/tsuru-api/Chart.yaml index aa325c6..b03ee5a 100644 --- a/charts/tsuru-api/Chart.yaml +++ b/charts/tsuru-api/Chart.yaml @@ -15,10 +15,10 @@ 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.2.22 +version: 0.3.0 # 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 # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.19.2" +appVersion: "1.20.3" diff --git a/charts/tsuru-api/templates/configmap.yaml b/charts/tsuru-api/templates/configmap.yaml index dfea624..f0e0d72 100644 --- a/charts/tsuru-api/templates/configmap.yaml +++ b/charts/tsuru-api/templates/configmap.yaml @@ -129,6 +129,10 @@ data: {{- if .Values.tsuruConfig.kubernetes.deploymentProgressTimeout }} deployment-progress-timeout: {{ .Values.tsuruConfig.kubernetes.deploymentProgressTimeout }} {{- end }} + {{- if .Values.tsuruConfig.kubernetes.keda }} + keda: + {{- toYaml .Values.tsuruConfig.kubernetes.keda | nindent 8}} + {{- end }} {{ if .Values.tsuruConfig.volumePlans }} # - Volume Plans