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

Added ClusterRole, ClusterRoleBinding and ServiceAccount #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Keralin
Copy link

@Keralin Keralin commented Jul 20, 2021

When you want to test it in a k8s cluster you will need this files, otherwise the app will fail missing permissions

@vvavepacket
Copy link

This doesn't fix the issue.

We are still getting

ERROR: logging before flag.Parse: E0702 02:24:33.516348 1 reflector.go:199] github.com/upmc-enterprises/registry-creds/vendor/k8s.io/client-go/tools/cache/reflector.go:94: Failed to list *v1.Namespace: namespaces is forbidden: User "system:serviceaccount:kube-system:default" cannot list resource "namespaces" in API group "" at the cluster scope

@vvavepacket
Copy link

Please modify the deployment.yaml to include the following

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

Successfully merging this pull request may close these issues.

3 participants