Allow not having web.budget value
This commit is contained in:
parent
bfa28084cd
commit
d7626d5ecd
|
@ -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 -}}
|
||||||
|
|
Loading…
Reference in a new issue