mirror of
https://github.com/eliasstepanik/caddy-ingess.git
synced 2026-01-10 20:18:28 +00:00
20 lines
552 B
YAML
20 lines
552 B
YAML
apiVersion: policy/v1
|
|
kind: PodDisruptionBudget
|
|
metadata:
|
|
name: {{ include "caddy-ingress-controller.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "caddy-ingress-controller.labels" . | nindent 4 }}
|
|
spec:
|
|
{{- with .Values.podDisruptionBudget }}
|
|
{{- if .minAvailable }}
|
|
minAvailable: {{ .minAvailable }}
|
|
{{- end }}
|
|
{{- if .maxUnavailable }}
|
|
maxUnavailable: {{ .maxUnavailable }}
|
|
{{- end }}
|
|
{{- end }}
|
|
selector:
|
|
matchLabels:
|
|
{{- include "caddy-ingress-controller.selectorLabels" . | nindent 6 }}
|