You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
468 B
17 lines
468 B
{{- if .Values.podDisruptionBudget -}}
|
|
{{- if .Capabilities.APIVersions.Has "policy/v1" }}
|
|
apiVersion: policy/v1
|
|
{{- else }}
|
|
apiVersion: policy/v1beta1
|
|
{{- end }}
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: {{ include "keycloak.fullname" . }}
|
|
labels:
|
|
{{- include "keycloak.labels" . | nindent 4 }}
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
{{- include "keycloak.selectorLabels" . | nindent 6 }}
|
|
{{- toYaml .Values.podDisruptionBudget | nindent 2 }}
|
|
{{- end -}}
|
|
|