Skip to content

Commit

Permalink
fix: pdb template values
Browse files Browse the repository at this point in the history
  • Loading branch information
mentlak0 committed Nov 18, 2024
1 parent 4dd994b commit 0fd737a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion charts/prometheus/templates/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@ spec:
selector:
matchLabels:
{{- include "prometheus.server.matchLabels" . | nindent 6 }}
{{- toYaml $pdbSpec | nindent 2 }}
{{- if $pdbSpec.minAvailable }}
minAvailable: {{ $pdbSpec.minAvailable }}
{{- end }}
{{- if $pdbSpec.maxUnavailable }}
maxUnavailable: {{ $pdbSpec.maxUnavailable }}
{{- end }}
{{- end }}

0 comments on commit 0fd737a

Please sign in to comment.