Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion authorization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
> [!NOTE]
> Adding your username to one of the `Group`s managed by this ArgoCD application does **not** create your username or grant access to the cluster. You must already have an internal SSO login in order for these role bindings to take effect.

Membership in the `redhat-ai-dev-users` `Group` on the cluster grants cluster-wide `edit` permissions. Additional permissions can be configured via additional `Group` and `RoleBinding` resources.
Membership in the `redhat-ai-dev-users` `Group` on the cluster grants cluster-wide `view`, and `edit` permissions to the user's personal namespace and the `rhoai-workspace` namespace. Additional permissions can be configured via additional `Group` and `RoleBinding` resources.
5 changes: 2 additions & 3 deletions authorization/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- redhat-ai-dev-edit.yaml
- redhat-ai-dev-edit-users.yaml
- redhat-ai-dev-users.yaml
- redhat-ai-dev-view.yaml
- redhat-ai-dev-view-users.yaml
- rhoai-workspace-edit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
kind: Group
apiVersion: user.openshift.io/v1
metadata:
name: redhat-ai-dev-edit-users
name: redhat-ai-dev-users
users:
- bwilcock
- jdubrick
Expand Down
6 changes: 0 additions & 6 deletions authorization/redhat-ai-dev-view-users.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
kind: ClusterRoleBinding
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: redhat-ai-dev-edit
name: rhoai-workspace-edit
namespace: rhoai-workspace
subjects:
- kind: Group
apiGroup: rbac.authorization.k8s.io
name: redhat-ai-dev-edit-users
name: redhat-ai-dev-users
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down