[bitnami/argo-cd] Render PDBs and NetworkPolicies only if apps are enabled as well (#27614)

* [bitnami/argo-cd] Render PDBs and NetworkPolicies only if apps are enabled as well

Signed-off-by: Max Nitze <max.nitze@mgm-tp.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Max Nitze <max.nitze@mgm-tp.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Max Nitze <max.nitze@mgm-tp.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Max Nitze
2024-07-05 11:34:12 +02:00
committed by GitHub
parent 28b8f9f505
commit a8343fd356
9 changed files with 14 additions and 10 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 6.5.5 (2024-07-05)
## 6.5.6 (2024-07-05)
* [bitnami/argo-cd] Use correct port in NetworkPolicy of Repo Server ([#27615](https://github.com/bitnami/charts/pull/27615))
* [bitnami/argo-cd] Render PDBs and NetworkPolicies only if apps are enabled as well ([#27614](https://github.com/bitnami/charts/pull/27614))
## <small>6.5.5 (2024-07-05)</small>
* [bitnami/argo-cd] Use correct port in NetworkPolicy of Repo Server (#27615) ([afe2d37](https://github.com/bitnami/charts/commit/afe2d3707912e9717615a38e5a54741800b443a1)), closes [#27615](https://github.com/bitnami/charts/issues/27615)
## <small>6.5.4 (2024-07-04)</small>

View File

@@ -39,4 +39,4 @@ maintainers:
name: argo-cd
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/argo-cd
version: 6.5.5
version: 6.5.6

View File

@@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if .Values.applicationSet.networkPolicy.enabled }}
{{- if and .Values.applicationSet.enabled .Values.applicationSet.networkPolicy.enabled }}
kind: NetworkPolicy
apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
metadata:

View File

@@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if .Values.applicationSet.pdb.create }}
{{- if and .Values.applicationSet.enabled .Values.applicationSet.pdb.create }}
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:

View File

@@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if and .Values.rbac.create .Values.applicationSet.enabled }}
{{- if and .Values.applicationSet.enabled .Values.rbac.create }}
kind: Role
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
metadata:

View File

@@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if .Values.dex.pdb.create }}
{{- if and .Values.dex.enabled .Values.dex.pdb.create }}
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:

View File

@@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if .Values.notifications.pdb.create }}
{{- if and .Values.notifications.enabled .Values.notifications.pdb.create }}
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:

View File

@@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if and .Values.repoServer.pdb.create }}
{{- if .Values.repoServer.pdb.create }}
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata:

View File

@@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
SPDX-License-Identifier: APACHE-2.0
*/}}
{{- if and .Values.server.pdb.create }}
{{- if .Values.server.pdb.create }}
apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
kind: PodDisruptionBudget
metadata: