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.
20 lines
564 B
20 lines
564 B
{{- if .Values.podDisruptionBudget.enabled }}
|
|
apiVersion: policy/v1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: {{ include "OpenMetadata.fullname" . }}-poddisruptionbudget
|
|
labels:
|
|
{{- include "OpenMetadata.labels" . | indent 4 }}
|
|
spec:
|
|
{{- with .Values.podDisruptionBudget.config }}
|
|
{{- if .minAvailable }}
|
|
minAvailable: {{ .minAvailable }}
|
|
{{- end }}
|
|
{{- if .maxUnavailable }}
|
|
maxUnavailable: {{ .maxUnavailable }}
|
|
{{- end }}
|
|
{{- end }}
|
|
selector:
|
|
matchLabels:
|
|
{{- include "OpenMetadata.selectorLabels" . | nindent 6 }}
|
|
{{- end }} |