From 59f81a5eef9b547478ad29eee9997a05ea77db0d Mon Sep 17 00:00:00 2001 From: ajinkya6 <112479022+ajinkya6@users.noreply.github.com> Date: Wed, 28 Aug 2024 12:59:30 +0530 Subject: [PATCH] fix: pdb creation condition (#117) --- stable/app/templates/poddisruptionbudget.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable/app/templates/poddisruptionbudget.yaml b/stable/app/templates/poddisruptionbudget.yaml index 89fbe3cc..30d51920 100644 --- a/stable/app/templates/poddisruptionbudget.yaml +++ b/stable/app/templates/poddisruptionbudget.yaml @@ -1,4 +1,4 @@ -{{- if and .Values.pdb.enabled (gt .Values.replicaCount 1) }} +{{- if and .Values.pdb.enabled (gt (int .Values.replicaCount) 1) }} apiVersion: policy/v1 kind: PodDisruptionBudget metadata: