diff --git a/bitnami/cassandra/templates/pdb.yaml b/bitnami/cassandra/templates/pdb.yaml index 2603c82048ec25..8a74edb9b7b7b2 100644 --- a/bitnami/cassandra/templates/pdb.yaml +++ b/bitnami/cassandra/templates/pdb.yaml @@ -3,8 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved. SPDX-License-Identifier: APACHE-2.0 */}} -{{- $replicaCount := int .Values.replicaCount }} -{{- if and .Values.pdb.create (gt $replicaCount 1) }} +{{- if .Values.pdb.create }} apiVersion: {{ include "common.capabilities.policy.apiVersion" . }} kind: PodDisruptionBudget metadata: