blob: e49cbf4b01690da4b72b0d0be5d38783c1f9cf89 [file] [log] [blame]
{{- if .Values.keycloak.podDisruptionBudget -}}
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: {{ include "keycloak.fullname" . }}
labels:
{{- include "keycloak.commonLabels" . | nindent 4 }}
spec:
selector:
matchLabels:
{{- include "keycloak.selectorLabels" . | nindent 6 }}
{{- toYaml .Values.keycloak.podDisruptionBudget | nindent 2 }}
{{- end -}}