[bitnami/etcd] Revert #25896 (#25917)

* [bitnami/etcd] PDB review

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* [bitnami/etcd] Revert previous changes in PDB

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Re-apply changes

Signed-off-by: Fran Mulero <fmulero@vmware.com>

---------

Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Fran Mulero
2024-05-17 12:16:32 +02:00
committed by GitHub
parent c289f0e881
commit 8f095b11fe
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -32,4 +32,4 @@ maintainers:
name: etcd
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/etcd
version: 10.0.9
version: 10.0.10
+1 -2
View File
@@ -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: