Files
amplify-fusion/templates/orchestrator/poddisruptionbudget.tpl
2026-01-21 17:37:42 +11:00

14 lines
447 B
Smarty

{{- define "orchestrator.podDisruptionBudget" -}}
{{- if .Values.orchestrator.podDisruptionBudget.enabled -}}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ template "orchestrator.appName" . }}
namespace: {{ .Release.Namespace }}
spec:
minAvailable: {{ .Values.orchestrator.podDisruptionBudget.minPods }}
selector:
matchLabels:
{{- include "orchestrator.selectorLabels" . | nindent 6 }}
{{- end }}
{{- end -}}