Skip to content
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

Add namespace and role resources for user settings #479

Merged
merged 1 commit into from
Nov 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions manifests/02-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ metadata:
openshift.io/node-selector: ""
labels:
openshift.io/cluster-monitoring: "true"
---
apiVersion: v1
kind: Namespace
metadata:
name: openshift-console-user-settings
annotations:
include.release.openshift.io/self-managed-high-availability: "true"
openshift.io/node-selector: ""
49 changes: 49 additions & 0 deletions manifests/03-rbac-role-ns-openshift-console-user-settings.yaml
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:
jhadvig marked this conversation as resolved.
Show resolved Hide resolved
- get
- list
- watch
- create
- update
- delete
- watch
- apiGroups:
- ""
resources:
- configmaps
verbs:
jhadvig marked this conversation as resolved.
Show resolved Hide resolved
- 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