Skip to content

Commit

Permalink
fix pdb. set bools to strings (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
domdepasquale authored Dec 1, 2023
1 parent b4c21bc commit f6e57ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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,7 +15,7 @@ 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.8.0
version: 1.8.1

maintainers:
- name: Dominic DePasquale
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 and .Values.podDisruptionBudget.enabled (or .Values.autoscaling.enabled (gt (int .Values.replicaCount) 1 )) }}
{{- if and .Values.podDisruptionBudget.enabled (or (and .Values.autoscaling.enabled (gt (int .Values.autoscaling.minReplicas) 1 )) (gt (int .Values.replicaCount) 1 )) }}
---
apiVersion: policy/v1
kind: PodDisruptionBudget
Expand Down
6 changes: 3 additions & 3 deletions charts/application-core/templates/scaledobject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ spec:
topic: {{ .topic }}
lagThreshold: {{ default 5 .lagThreshold | quote }}
offsetResetPolicy: {{ default "latest" .offsetResetPolicy }}
allowIdleConsumers: false
scaleToZeroOnInvalidOffset: false
excludePersistentLag: false
allowIdleConsumers: "false"
scaleToZeroOnInvalidOffset: "false"
excludePersistentLag: "false"
sasl: {{ default "plaintext" .sasl }}
tls: {{ default "enable" .tls }}
username: {{ .username }}
Expand Down

0 comments on commit f6e57ef

Please sign in to comment.