File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ kind: NetworkPolicy
2
+ apiVersion: networking.k8s.io/v1
3
+ metadata:
4
+ name: ds-pipelines-envoy-{{ .Name }}
5
+ namespace: {{ .Namespace }}
6
+ spec:
7
+ podSelector:
8
+ matchLabels:
9
+ app: ds-pipeline-metadata-envoy-{{ .Name }}
10
+ component: data-science-pipelines
11
+ ingress:
12
+ - ports:
13
+ - protocol: TCP
14
+ port: 9090
15
+ from:
16
+ - podSelector:
17
+ matchLabels:
18
+ app: odh-dashboard
19
+ namespaceSelector: {}
20
+ - podSelector:
21
+ matchLabels:
22
+ component: data-science-pipelines
23
+ policyTypes:
24
+ - Ingress
Original file line number Diff line number Diff line change 45
45
matchLabels:
46
46
app: ds-pipeline-scheduledworkflow-{{.Name}}
47
47
component: data-science-pipelines
48
+ - podSelector:
49
+ matchLabels:
50
+ app: ds-pipeline-metadata-envoy-{{.Name}}
51
+ component: data-science-pipelines
52
+ - podSelector:
53
+ matchLabels:
54
+ app: ds-pipeline-metadata-grpc-{{.Name}}
55
+ component: data-science-pipelines
56
+ - podSelector:
57
+ matchLabels:
58
+ app: ds-pipeline-metadata-writer-{{.Name}}
59
+ component: data-science-pipelines
48
60
ports:
49
61
- protocol: TCP
50
62
port: 8888
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import (
21
21
22
22
var commonTemplates = []string {
23
23
"common/policy.yaml.tmpl" ,
24
+ "common/mlmd-envoy-dashboard-access-policy.yaml.tmpl" ,
24
25
}
25
26
26
27
const commonCusterRolebindingTemplate = "common/clusterrolebinding.yaml.tmpl"
You can’t perform that action at this time.
0 commit comments