diff --git a/charts/retool/Chart.yaml b/charts/retool/Chart.yaml index 4a19021..2bb6f2f 100644 --- a/charts/retool/Chart.yaml +++ b/charts/retool/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: retool description: A Helm chart for Kubernetes type: application -version: 6.8.3 +version: 6.8.4 maintainers: - name: Retool Engineering email: engineering+helm@retool.com diff --git a/charts/retool/ci/test-pdb-option.yaml b/charts/retool/ci/test-pdb-option.yaml new file mode 100644 index 0000000..ef047b2 --- /dev/null +++ b/charts/retool/ci/test-pdb-option.yaml @@ -0,0 +1,3 @@ +podDisruptionBudget: + maxUnavailable: 1 + unhealthyPodEvictionPolicy: AlwaysAllow diff --git a/charts/retool/templates/_workers.tpl b/charts/retool/templates/_workers.tpl index 87878c9..49e6aaa 100644 --- a/charts/retool/templates/_workers.tpl +++ b/charts/retool/templates/_workers.tpl @@ -386,7 +386,7 @@ kind: PodDisruptionBudget metadata: name: {{ include (printf "retool.%sWorker.name" $workerType) $ }} spec: - {{ toYaml $.Values.podDisruptionBudget }} + {{- toYaml $.Values.podDisruptionBudget | nindent 2 }} selector: matchLabels: {{- include (printf "retool.%sWorker.selectorLabels" $workerType) $ | nindent 6 }} diff --git a/charts/retool/templates/deployment_backend.yaml b/charts/retool/templates/deployment_backend.yaml index 5b800e3..0b15866 100644 --- a/charts/retool/templates/deployment_backend.yaml +++ b/charts/retool/templates/deployment_backend.yaml @@ -387,7 +387,7 @@ kind: PodDisruptionBudget metadata: name: {{ template "retool.fullname" . }} spec: - {{ toYaml .Values.podDisruptionBudget }} + {{- toYaml .Values.podDisruptionBudget | nindent 2 }} selector: matchLabels: {{- include "retool.selectorLabels" . | nindent 6 }} diff --git a/charts/retool/templates/deployment_code_executor.yaml b/charts/retool/templates/deployment_code_executor.yaml index 50140b2..a9f4f8e 100644 --- a/charts/retool/templates/deployment_code_executor.yaml +++ b/charts/retool/templates/deployment_code_executor.yaml @@ -155,7 +155,7 @@ kind: PodDisruptionBudget metadata: name: {{ template "retool.codeExecutor.name" . }} spec: - {{ toYaml .Values.podDisruptionBudget }} + {{- toYaml .Values.podDisruptionBudget | nindent 2 }} selector: matchLabels: {{- include "retool.codeExecutor.selectorLabels" . | nindent 6 }} diff --git a/charts/retool/templates/deployment_dbconnector.yaml b/charts/retool/templates/deployment_dbconnector.yaml index 33e7818..5eed5dd 100644 --- a/charts/retool/templates/deployment_dbconnector.yaml +++ b/charts/retool/templates/deployment_dbconnector.yaml @@ -258,7 +258,7 @@ kind: PodDisruptionBudget metadata: name: {{ include "retool.dbconnector.name" . }} spec: - {{ toYaml .Values.podDisruptionBudget }} + {{- toYaml .Values.podDisruptionBudget | nindent 2 }} selector: matchLabels: {{- include "retool.dbconnector.selectorLabels" . | nindent 6 }} diff --git a/charts/retool/templates/deployment_workflows.yaml b/charts/retool/templates/deployment_workflows.yaml index 5ed5162..240917d 100644 --- a/charts/retool/templates/deployment_workflows.yaml +++ b/charts/retool/templates/deployment_workflows.yaml @@ -343,7 +343,7 @@ kind: PodDisruptionBudget metadata: name: {{ include "retool.workflowBackend.name" . }} spec: - {{ toYaml .Values.podDisruptionBudget }} + {{- toYaml .Values.podDisruptionBudget | nindent 2 }} selector: matchLabels: {{- include "retool.workflowBackend.selectorLabels" . | nindent 6 }}