mirror of
https://github.com/bitnami/charts.git
synced 2026-02-22 05:37:15 +08:00
[bitnami/postgresql] Do not create a NetworkPolicy for "read" instance when "standalone" (#23392)
* Do not create a NetworkPolicy for "read" instance when "standalone" In "standalone" mode, no component is created except an extra "NetworkPolicy" object This PR disables the creation of the NetworkPolicy for the "read" instances Signed-off-by: Denis Forveille <titou10.titou10@gmail.com> * Bump chart version +0.0.1 Signed-off-by: Denis Forveille <titou10.titou10@gmail.com> * Update Chart.yaml Signed-off-by: Denis Forveille <titou10.titou10@gmail.com> --------- Signed-off-by: Denis Forveille <titou10.titou10@gmail.com> Signed-off-by: Ibone González Mauraza <gibone@vmware.com> Co-authored-by: Ibone González Mauraza <gibone@vmware.com>
This commit is contained in:
@@ -35,4 +35,4 @@ maintainers:
|
||||
name: postgresql
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/postgresql
|
||||
version: 14.1.0
|
||||
version: 14.1.1
|
||||
|
||||
@@ -3,6 +3,7 @@ Copyright VMware, Inc.
|
||||
SPDX-License-Identifier: APACHE-2.0
|
||||
*/}}
|
||||
|
||||
{{- if eq .Values.architecture "replication" }}
|
||||
{{- if .Values.readReplicas.networkPolicy.enabled }}
|
||||
kind: NetworkPolicy
|
||||
apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
|
||||
@@ -76,3 +77,4 @@ spec:
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.readReplicas.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user