Update controller-poddisruptionbudget.yaml (#6734)
Logic was wrong. See additional check that is also part of the first OR.
This commit is contained in:
parent
43d33528e1
commit
7c6b694e72
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{{- if or (and .Values.controller.autoscaling.enabled (gt (.Values.controller.autoscaling.minReplicas | int) 1)) (gt (.Values.controller.replicaCount | int) 1) -}}
|
{{- if or (and .Values.controller.autoscaling.enabled (gt (.Values.controller.autoscaling.minReplicas | int) 1)) (and (not .Values.controller.autoscaling.enabled) (gt (.Values.controller.replicaCount | int) 1)) }}
|
||||||
apiVersion: policy/v1beta1
|
apiVersion: policy/v1beta1
|
||||||
kind: PodDisruptionBudget
|
kind: PodDisruptionBudget
|
||||||
metadata:
|
metadata:
|
||||||
|
|
Loading…
Reference in a new issue