Allow maxUnavailable in webhook pdb
Signed-off-by: Rouke Broersma <mobrockers@gmail.com>
This commit is contained in:
parent
659c95e202
commit
eb2b4d8fbc
@ -17,7 +17,7 @@ spec:
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/component: "webhook"
|
||||
|
||||
{{- with .Values.webhook.podDisruptionBudget.minAvailable }}
|
||||
{{- with and .Values.webhook.podDisruptionBudget.minAvailable (not .Values.webhook.podDisruptionBudget.maxUnavailable) }}
|
||||
minAvailable: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.webhook.podDisruptionBudget.maxUnavailable }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user