1 {{- if .Values.podDisruptionBudget.enabled }}
2 apiVersion: policy/v1beta1
3 kind: PodDisruptionBudget
5 name: "{{ template "kong.fullname" . }}"
7 app: "{{ template "kong.name" . }}"
9 {{- if .Values.podDisruptionBudget.minAvailable }}
10 minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
12 {{- if .Values.podDisruptionBudget.maxUnavailable }}
13 maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }}
17 app: {{ template "kong.name" . }}
18 release: {{ .Release.Name }}