Skip to content

Commit fcdb604

Browse files
committed
Add a role for DSPO end user
1 parent 2851682 commit fcdb604

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
kind: Role
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
metadata:
4+
name: ds-pipeline-user-access-{{.Name}}
5+
namespace: {{.Namespace}}
6+
labels:
7+
app: ds-pipeline-{{.Name}}
8+
component: data-science-pipelines
9+
rules:
10+
- apiGroups:
11+
- route.openshift.io
12+
resources:
13+
- routes
14+
verbs:
15+
- get

controllers/apiserver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var apiServerTemplates = []string{
2828
"apiserver/artifact_script.yaml.tmpl",
2929
"apiserver/role_ds-pipeline.yaml.tmpl",
3030
"apiserver/role_pipeline-runner.yaml.tmpl",
31+
"apiserver/role_ds-pipeline-user-access.yaml.tmpl",
3132
"apiserver/rolebinding_ds-pipeline.yaml.tmpl",
3233
"apiserver/rolebinding_pipeline-runner.yaml.tmpl",
3334
"apiserver/sa_ds-pipeline.yaml.tmpl",

0 commit comments

Comments
 (0)