Skip to content

Commit

Permalink
Update chart/k8s-pause/templates/podDisruptionBudget.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: raffis <[email protected]>
  • Loading branch information
Tycale and raffis authored May 21, 2024
1 parent 11dc507 commit 138bea0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions chart/k8s-pause/templates/podDisruptionBudget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }}
helm.sh/chart: {{ include "k8s-pause.chart" . }}
spec:
{{- if .Values.pdb.minAvailable }}
minAvailable: {{ .Values.pdb.minAvailable }}
{{- end }}
{{- if .Values.pdb.maxUnavailable }}
maxUnavailable: {{ .Values.pdb.maxUnavailable }}
{{- end }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "k8s-pause.name" . }}
Expand Down

0 comments on commit 138bea0

Please sign in to comment.