Skip to content

Commit cd7e260

Browse files
committed
add new var
1 parent 458160f commit cd7e260

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
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.2.9
18+
version: 1.3.0
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: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{{- if .Values.egressControl.enabled }}
2+
kind: NetworkPolicy
3+
apiVersion: networking.k8s.io/v1
4+
metadata:
5+
name: allow-egress-clusternetwork-cidr
6+
spec:
7+
podSelector: {}
8+
egress:
9+
- to:
10+
- ipBlock:
11+
cidr: {{ .Values.egressControl.cidr }} # oc get network cluster -o=jsonpath='{.spec.clusterNetwork[0].cidr}'
12+
policyTypes:
13+
- Egress
14+
{{- end }}

charts/istio-member-namespaces/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ networkpolicies:
1818
istioSystemNamespace: istio-system
1919
ambient:
2020
enabled: false
21+
egressControl:
22+
enabled: false
23+
cidr: 10.217.0.0/22 # oc get network cluster -o=jsonpath='{.spec.clusterNetwork[0].cidr}'

charts/ossm3/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ istioCNI:
33
version: v1.26.2
44
namespace: istio-cni
55
# profile: ambient
6+
# values:
7+
# cni:
8+
# ambient:
9+
# reconcileIptablesOnStartup: true
610
# https://istio.io/latest/docs/setup/upgrade/canary/
711
istioRevisionTags:
812
# https://istio.io/latest/docs/setup/upgrade/canary/#default-tag

0 commit comments

Comments
 (0)