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

Non-admin user documentation guide #97

Open
rafaelvzago opened this issue Jun 3, 2022 · 1 comment
Open

Non-admin user documentation guide #97

rafaelvzago opened this issue Jun 3, 2022 · 1 comment

Comments

@rafaelvzago
Copy link

Sugestion

  • The cluster-admin needs to give access to each user to the project namespace using a Sevice Account since the USER entity is an Openshift feature.
@pwright
Copy link
Member

pwright commented Jun 9, 2022

So, we need something like:

To create service accounts that allow you create sites, you must give those accounts permissions as described in the example below, which creates the skupper-sa service account for the west namespace:

apiVersion: v1
kind: ServiceAccount
metadata:
  name: skupper-sa
  namespace: west

---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: skupper-sa-full-access
  namespace: west
rules:
- apiGroups: ["", "apps", "extensions", "rbac.authorization.k8s.io",]
  resources: ["*"]
  verbs: ["*"]

---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: skupper-sa-view
  namespace: west
subjects:
- kind: ServiceAccount
  name: skupper-sa
  namespace: west
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: skupper-sa-full-access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants