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 7c179b3 commit fdb63e2Copy full SHA for fdb63e2
helm/oauth2-proxy/templates/poddisruptionbudget.yaml
@@ -1,6 +1,6 @@
1
-{{- $replicaCount := .Values.replicaCount | default 1 }}
+{{- $replicaCount := .Values.replicaCount | default 1 | int }}
2
{{- if .Values.autoscaling.enabled }}
3
- {{- $replicaCount = .Values.autoscaling.minReplicas | default 1 }}
+ {{- $replicaCount = .Values.autoscaling.minReplicas | default 1 | int }}
4
{{- end }}
5
{{- if and .Values.podDisruptionBudget.enabled (gt $replicaCount 1) }}
6
apiVersion: {{ include "capabilities.podDisruptionBudget.apiVersion" . }}
0 commit comments