Skip to content

Commit

Permalink
[bitnami/apache] Reverts #25867
Browse files Browse the repository at this point in the history
Signed-off-by: Fran Mulero <[email protected]>
  • Loading branch information
fmulero committed May 15, 2024
1 parent 0468ca0 commit a927534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bitnami/cassandra/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ maintainers:
name: cassandra
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/cassandra
version: 11.1.6
version: 11.1.7
3 changes: 1 addition & 2 deletions bitnami/cassandra/templates/pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a927534

Please sign in to comment.