Skip to content

Commit 0745fc6

Browse files
authored
patch: update pdb (#118)
* feat: update pdb * fix: formatting changes
1 parent 59f81a5 commit 0745fc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stable/app/templates/poddisruptionbudget.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and .Values.pdb.enabled (gt (int .Values.replicaCount) 1) }}
1+
{{- if and .Values.pdb.enabled (or (and .Values.autoscaling.enabled (gt (int .Values.autoscaling.minReplicas) 1)) (gt (int .Values.replicaCount) 1)) }}
22
apiVersion: policy/v1
33
kind: PodDisruptionBudget
44
metadata:

0 commit comments

Comments
 (0)