1 {{- if .Values.podDisruptionBudget.enabled }}
2 apiVersion: policy/v1beta1
3 kind: PodDisruptionBudget
5 name: {{ template "kong.fullname" . }}
7 {{- include "kong.metaLabels" . | nindent 4 }}
9 {{- if .Values.podDisruptionBudget.minAvailable }}
10 minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
12 {{- if .Values.podDisruptionBudget.maxUnavailable }}
13 maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }}
17 {{- include "kong.metaLabels" . | nindent 6 }}