Skip to content

Commit c021c15

Browse files
committed
limit istio scope
Signed-off-by: Steve Han <stevehan2001@gmail.com> Signed-off-by: Steve Han <stevehan@roblox.com>
1 parent 5f3f6d6 commit c021c15

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

common/istio-1-24/istio-install/base/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ resources:
88
- gateway_authorizationpolicy.yaml
99
- deny_all_authorizationpolicy.yaml
1010
- gateway.yaml
11+
- sidecar-prune-egress.yaml
1112

1213
patches:
1314
- path: patches/service.yaml
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: networking.istio.io/v1alpha3
2+
kind: Sidecar
3+
metadata:
4+
name: prune-egress
5+
spec:
6+
egress:
7+
- hosts:
8+
- "./*" # use mTLS within the namespace
9+
- "kubeflow/*" # use mTLS when communicating with kubeflow namespace

0 commit comments

Comments
 (0)