From d7626d5ecdf80cf6399ccd963bed49e38a321b1b Mon Sep 17 00:00:00 2001 From: David Burke Date: Sun, 12 Jul 2020 19:18:36 -0400 Subject: [PATCH] Allow not having web.budget value --- templates/pdb.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/pdb.yaml b/templates/pdb.yaml index 5750b0c..781536f 100644 --- a/templates/pdb.yaml +++ b/templates/pdb.yaml @@ -1,3 +1,4 @@ +{{- if .Values.web.budget -}} {{- if .Values.web.budget.minAvailable -}} apiVersion: policy/v1beta1 kind: PodDisruptionBudget @@ -12,3 +13,4 @@ spec: {{- include "glitchtip.selectorLabels" . | nindent 6 }} role: web {{- end -}} +{{- end -}}