Skip to content

Commit d510206

Browse files
committed
fix
1 parent 19605a5 commit d510206

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

charts/istio-member-namespaces/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.3.1
18+
version: 1.3.2
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
{{- if .Values.egressControl.enabled }}
2+
{{- range .Values.members }}
23
kind: NetworkPolicy
34
apiVersion: networking.k8s.io/v1
45
metadata:
56
name: allow-egress-clusternetwork-cidr
7+
namespace: {{ . }}
68
spec:
79
podSelector: {}
810
egress:
911
- to:
1012
- ipBlock:
11-
cidr: {{ .Values.egressControl.cidr }} # oc get network cluster -o=jsonpath='{.spec.clusterNetwork[0].cidr}'
13+
cidr: {{ $.Values.egressControl.cidr }} # oc get network cluster -o=jsonpath='{.spec.clusterNetwork[0].cidr}'
1214
policyTypes:
1315
- Egress
1416
{{- end }}
17+
{{- end }}

0 commit comments

Comments
 (0)