2021-08-21 00:30:54 +02:00
|
|
|
{{- if .Values.podDisruptionBudget.enabled }}
|
|
|
|
apiVersion: policy/v1beta1
|
|
|
|
kind: PodDisruptionBudget
|
|
|
|
metadata:
|
|
|
|
name: minio
|
2021-09-23 21:56:08 +02:00
|
|
|
namespace: {{ .Release.Namespace | quote }}
|
2021-08-21 00:30:54 +02:00
|
|
|
labels:
|
|
|
|
app: {{ template "minio.name" . }}
|
|
|
|
spec:
|
|
|
|
maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }}
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: {{ template "minio.name" . }}
|
|
|
|
{{- end }}
|