Allow not having web.budget value

This commit is contained in:
David Burke 2020-07-12 19:18:36 -04:00
parent bfa28084cd
commit d7626d5ecd

View file

@ -1,3 +1,4 @@
{{- if .Values.web.budget -}}
{{- if .Values.web.budget.minAvailable -}} {{- if .Values.web.budget.minAvailable -}}
apiVersion: policy/v1beta1 apiVersion: policy/v1beta1
kind: PodDisruptionBudget kind: PodDisruptionBudget
@ -12,3 +13,4 @@ spec:
{{- include "glitchtip.selectorLabels" . | nindent 6 }} {{- include "glitchtip.selectorLabels" . | nindent 6 }}
role: web role: web
{{- end -}} {{- end -}}
{{- end -}}