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

OLM GUI does not have permission to list its OLM CRDs #597

Closed
jsafrane opened this issue Dec 4, 2018 · 2 comments
Closed

OLM GUI does not have permission to list its OLM CRDs #597

jsafrane opened this issue Dec 4, 2018 · 2 comments

Comments

@jsafrane
Copy link

jsafrane commented Dec 4, 2018

On current Kubernetes cluster (see below), "Kubernetes Marketplace" page shows:

Restricted Access
You don't have access to this section due to cluster policy.
packagemanifests.packages.apps.redhat.com is forbidden: User "system:serviceaccount:kube-system:default" cannot list resource "packagemanifests" in API group "packages.apps.redhat.com" at the cluster scope

I installed OLM this way:

  1. Run Kubernetes using hack/local-up-cluster.sh (~today-ish master)
  2. Install OLM using kubectl create -f deploy/upstream/manifests/latest/ (with current OLM master)
  3. Run console using ./scripts/run_console_local.sh
@jsafrane
Copy link
Author

jsafrane commented Dec 4, 2018

I worked around this issue by adding cluster-admin role to kube-system/default

@ecordell
Copy link
Member

Hi @jsafrane

We provide two ClusterRoles that you can bind a user to: aggregate-olm-view and aggregate-olm-view. They are automatically aggregated to the view and edit roles, if those are appropriate to use.

cluster-admin works as well, but these will let you use OLM types without granting that high.

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