templates/poddisruptionbudget.yaml を追加

This commit is contained in:
2026-02-15 08:08:49 +00:00
parent eb418b594e
commit 09582ad02a

View File

@@ -0,0 +1,13 @@
{{- if .Values.podDisruptionBudget.enabled }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "nginx-redirect.fullname" . }}
labels:
{{- include "nginx-redirect.labels" . | nindent 4 }}
spec:
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
selector:
matchLabels:
{{- include "nginx-redirect.selectorLabels" . | nindent 6 }}
{{- end }}