Repository for dip
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.
 
 
 
 
 
 

21 lines
763 B

{{- if .Values.catalog.podDisruptionBudget.enabled }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "iceberg-catalog.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "iceberg-catalog.labels" . | nindent 4 }}
app.kubernetes.io/component: catalog
spec:
{{- if .Values.catalog.podDisruptionBudget.maxUnavailable }}
maxUnavailable: {{ .Values.catalog.podDisruptionBudget.maxUnavailable }}
{{- end }}
{{- if .Values.catalog.podDisruptionBudget.minAvailable }}
minAvailable: {{ .Values.catalog.podDisruptionBudget.minAvailable }}
{{- end }}
selector:
matchLabels:
{{- include "iceberg-catalog.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: catalog
{{- end }}