-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #479 from jerolimov/odc-4755
Add namespace and role resources for user settings
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
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
49 changes: 49 additions & 0 deletions
49
manifests/03-rbac-role-ns-openshift-console-user-settings.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,49 @@ | ||
kind: Role | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: console-user-settings-admin | ||
namespace: openshift-console-user-settings | ||
annotations: | ||
include.release.openshift.io/self-managed-high-availability: "true" | ||
rules: | ||
- apiGroups: | ||
- rbac.authorization.k8s.io/v1 | ||
resources: | ||
- roles | ||
- rolebindings | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- delete | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- configmaps | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- delete | ||
- watch | ||
--- | ||
kind: RoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: console-user-settings-admin | ||
namespace: openshift-console-user-settings | ||
annotations: | ||
include.release.openshift.io/self-managed-high-availability: "true" | ||
roleRef: | ||
kind: Role | ||
name: console-user-settings-admin | ||
apiGroup: rbac.authorization.k8s.io | ||
subjects: | ||
- kind: ServiceAccount | ||
name: console | ||
namespace: openshift-console |