forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add seldon permissions to default-editor (kubeflow#2013)
* Create kubeflow-edit-seldon.yaml * Update kustomization.yaml
- Loading branch information
1 parent
2119cc8
commit e7fe3f8
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
contrib/seldon/seldon-core-operator/base/kubeflow-edit-seldon.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Kubeflow builds clusterrole kubeflow-edit by aggreagating multiple other clusterroles | ||
# So i add a clusterrole that allows seldon deployments and it will be aggreagted because | ||
# of its "aggregate-to-kubeflow-edit" label | ||
# kubeflow-edit is the default role, that is available in each user namespace | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-edit: "true" | ||
name: kubeflow-edit-seldon | ||
rules: | ||
- apiGroups: | ||
- machinelearning.seldon.io | ||
verbs: | ||
- '*' | ||
resources: | ||
- '*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters