Skip to content

Commit

Permalink
patch: update pdb (#118)
Browse files Browse the repository at this point in the history
* feat: update pdb

* fix: formatting changes
  • Loading branch information
ajinkya6 authored Sep 6, 2024
1 parent 59f81a5 commit 0745fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stable/app/templates/poddisruptionbudget.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- 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)) }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
Expand Down

0 comments on commit 0745fc6

Please sign in to comment.