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

Unable to use OLM tool when the operator is cluster-scoped and has not the role #888

Closed
camilamacedo86 opened this issue Jun 5, 2019 · 2 comments

Comments

@camilamacedo86
Copy link
Contributor

Error:

$ operator-sdk olm-catalog gen-csv --csv-version 0.1.0 --update-crds
INFO[0000] Generating CSV manifest version 0.1.0        
Error: catalog scaffold failed: (open deploy/role.yaml: no such file or directory)

Note

Cluster-scoped ones will not have the role and instead of it will have the cluster_role.

Suggestions

The place which is looking for roles files should be able to also get:

  • cluster_role.yaml
  • cluster_role_binding.yaml

If some issue like this one occurs the process should still working for all files in the deploy dir.

@ecordell
Copy link
Member

ecordell commented Jun 5, 2019

Did you mean to make this issue against operator-sdk instead?

If not, I think that I misunderstand what the issue is. Could you explain it in a different way?

@camilamacedo86
Copy link
Contributor Author

camilamacedo86 commented Jun 8, 2019

@ecordell make sense :-)
Closing it here and opening it there.

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