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 -}}