Skip to content

Commit

Permalink
app: only use pdb if reps > 1 (#36)
Browse files Browse the repository at this point in the history
* app: only use pdb if reps > 1

* bump chart
  • Loading branch information
domdepasquale committed May 2, 2023
1 parent 1a9b2a4 commit 257ce55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/application-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.0.1
2 changes: 1 addition & 1 deletion charts/application-core/templates/pdb.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.podDisruptionBudget.enabled }}
{{- if and .Values.podDisruptionBudget.enabled (or .Values.autoscaling.enabled (gt (int .Values.replicaCount) 1 )) }}
---
apiVersion: policy/v1
kind: PodDisruptionBudget
Expand Down

0 comments on commit 257ce55

Please sign in to comment.