Add PodDisruptionBudget
This commit is contained in:
parent
fe4006e693
commit
6ea93893cf
2 changed files with 16 additions and 0 deletions
14
templates/pdb.yaml
Normal file
14
templates/pdb.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{- if .Values.web.budget.minAvailable -}}
|
||||
apiVersion: policy/v1beta1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
name: {{ include "glitchtip.fullname" . }}
|
||||
labels:
|
||||
{{- include "glitchtip.labels" . | nindent 4 }}
|
||||
spec:
|
||||
minAvailable: {{ .Values.web.budget.minAvailable }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "glitchtip.selectorLabels" . | nindent 6 }}
|
||||
role: web
|
||||
{{- end -}}
|
Loading…
Add table
Add a link
Reference in a new issue