-
Notifications
You must be signed in to change notification settings - Fork 66
refactor: addition of rbac needed for instascale controller #304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
1c2317d
b3ae92b
95b9201
ae38143
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| --- | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRole | ||
| metadata: | ||
| creationTimestamp: null | ||
| name: instascale-role | ||
| rules: | ||
| - apiGroups: | ||
| - "" | ||
| resources: | ||
| - configmaps | ||
| verbs: | ||
| - get | ||
| - apiGroups: | ||
| - "" | ||
| resources: | ||
| - nodes | ||
| verbs: | ||
| - get | ||
| - list | ||
| - patch | ||
| - update | ||
| - apiGroups: | ||
| - "" | ||
| resourceNames: | ||
| - instascale-ocm-secret | ||
dimakis marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| resources: | ||
| - secrets | ||
| verbs: | ||
| - get | ||
| - apiGroups: | ||
| - apps | ||
| resources: | ||
| - deployments | ||
| verbs: | ||
| - get | ||
| - list | ||
| - watch | ||
dimakis marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - apiGroups: | ||
| - apps | ||
| resources: | ||
| - machineset | ||
| verbs: | ||
| - create | ||
| - delete | ||
| - get | ||
| - list | ||
| - patch | ||
| - update | ||
| - watch | ||
| - apiGroups: | ||
| - apps | ||
| resources: | ||
| - machineset/status | ||
| verbs: | ||
| - get | ||
|
||
| - apiGroups: | ||
| - config.openshift.io | ||
| resources: | ||
| - clusterversions | ||
| verbs: | ||
| - get | ||
| - list | ||
| - watch | ||
| - apiGroups: | ||
| - machine.openshift.io | ||
| resources: | ||
| - '*' | ||
|
||
| verbs: | ||
| - create | ||
| - delete | ||
| - get | ||
| - list | ||
| - patch | ||
| - update | ||
| - watch | ||
| - apiGroups: | ||
| - workload.codeflare.dev | ||
| resources: | ||
| - appwrappers | ||
| verbs: | ||
| - create | ||
| - delete | ||
| - get | ||
| - list | ||
| - patch | ||
| - update | ||
| - watch | ||
| - apiGroups: | ||
| - workload.codeflare.dev | ||
| resources: | ||
| - appwrappers/finalizers | ||
| verbs: | ||
| - update | ||
| - apiGroups: | ||
| - workload.codeflare.dev | ||
| resources: | ||
| - appwrappers/status | ||
| verbs: | ||
| - get | ||
| - patch | ||
| - update | ||
dimakis marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRoleBinding | ||
| metadata: | ||
| name: instascale-rolebinding | ||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: ClusterRole | ||
| name: instascale-role | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: controller-manager | ||
| namespace: system |
Uh oh!
There was an error while loading. Please reload this page.