We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f81a5 commit 0745fc6Copy full SHA for 0745fc6
stable/app/templates/poddisruptionbudget.yaml
@@ -1,4 +1,4 @@
1
-{{- if and .Values.pdb.enabled (gt (int .Values.replicaCount) 1) }}
+{{- if and .Values.pdb.enabled (or (and .Values.autoscaling.enabled (gt (int .Values.autoscaling.minReplicas) 1)) (gt (int .Values.replicaCount) 1)) }}
2
apiVersion: policy/v1
3
kind: PodDisruptionBudget
4
metadata:
0 commit comments