From bdb17ba39770ccbab1d34c51f754b90d779d5a3f Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Sun, 3 Sep 2023 11:24:26 +0200 Subject: [PATCH] fix(helm): .Values.replicaCount type for comparison --- charts/backoffice/templates/pdb.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/backoffice/templates/pdb.yaml b/charts/backoffice/templates/pdb.yaml index 147b821..3729322 100644 --- a/charts/backoffice/templates/pdb.yaml +++ b/charts/backoffice/templates/pdb.yaml @@ -1,4 +1,4 @@ -{{- if gt .Values.replicaCount 1 }} +{{- if gt (.Values.replicaCount | int) 1 }} apiVersion: policy/v1 kind: PodDisruptionBudget metadata: