From a0aac771db0ed39ce3dc0685990a35ba6749af24 Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Thu, 21 Apr 2022 15:17:30 +0200 Subject: [PATCH] Fix pdb --- templates/pdb.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/pdb.yaml b/templates/pdb.yaml index 5fd57ad..cf744b6 100644 --- a/templates/pdb.yaml +++ b/templates/pdb.yaml @@ -1,4 +1,4 @@ -{{- if .Values.budget.app.minAvailable }} +{{- if .Values.budget.app }} apiVersion: policy/v1 kind: PodDisruptionBudget metadata: @@ -15,7 +15,7 @@ spec: release: {{ .Release.Name }} minAvailable: {{ .Values.budget.app.minAvailable }} {{- end }} -{{- if .Values.budget.worker.minAvailable }} +{{- if .Values.budget.worker }} --- apiVersion: policy/v1 kind: PodDisruptionBudget -- GitLab