File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
apps/hermes/components/istio-proxy Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : " kustomize.config.k8s.io/v1alpha1"
3
+ kind : " Component"
4
+ patches :
5
+ - target :
6
+ kind : " Namespace"
7
+ patch : |-
8
+ - op: add
9
+ path: "/metadata/labels/istio-injection"
10
+ value: "enabled"
11
+ - target :
12
+ kind : " NetworkPolicy"
13
+ patch : |-
14
+ - op: add
15
+ path: "/spec/egress/-"
16
+ value:
17
+ to:
18
+ - namespaceSelector:
19
+ matchLabels:
20
+ kubernetes.io/metadata.name: "kube-system"
21
+ podSelector:
22
+ matchLabels:
23
+ k8s-app: "kube-dns"
24
+ ports:
25
+ - port: 53
26
+ protocol: "UDP"
27
+ - port: 53
28
+ protocol: "TCP"
29
+ - op: add
30
+ path: "/spec/egress/-"
31
+ value:
32
+ to:
33
+ - namespaceSelector:
34
+ matchLabels:
35
+ kubernetes.io/metadata.name: "istio-system"
36
+ podSelector: {}
37
+ ports:
38
+ - port: 15012
39
+ protocol: "TCP"
40
+ - port: 15014
41
+ protocol: "TCP"
You can’t perform that action at this time.
0 commit comments