Skip to content

Commit 82756e1

Browse files
committed
Add cluster RBAC for pipeline parallelism configmap
1 parent f2940e2 commit 82756e1

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

manifests/kustomize/base/pipeline/cluster-scoped/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ kind: Kustomization
33
resources:
44
- scheduled-workflow-crd.yaml
55
- viewer-crd.yaml
6+
- ml-pipeline-configmap-manager-clusterrole.yaml
7+
- ml-pipeline-configmap-manager-clusterrolebinding.yaml
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
labels:
5+
app: ml-pipeline
6+
name: ml-pipeline-configmap-manager
7+
rules:
8+
- apiGroups:
9+
- ""
10+
resources:
11+
- configmaps
12+
verbs:
13+
- create
14+
- apiGroups:
15+
- ""
16+
resourceNames:
17+
- kfp-pipeline-config
18+
resources:
19+
- configmaps
20+
verbs:
21+
- get
22+
- list
23+
- watch
24+
- update
25+
- patch
26+
- delete
27+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRoleBinding
3+
metadata:
4+
labels:
5+
app: ml-pipeline
6+
name: ml-pipeline-configmap-manager
7+
roleRef:
8+
apiGroup: rbac.authorization.k8s.io
9+
kind: ClusterRole
10+
name: ml-pipeline-configmap-manager
11+
subjects:
12+
- kind: ServiceAccount
13+
name: ml-pipeline
14+
namespace: kubeflow
15+

0 commit comments

Comments
 (0)