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

Nexus Operator fails to create a ServiceAccount for the deployed CR #64

Closed
ricardozanini opened this issue May 15, 2020 · 0 comments · Fixed by #65
Closed

Nexus Operator fails to create a ServiceAccount for the deployed CR #64

ricardozanini opened this issue May 15, 2020 · 0 comments · Fixed by #65
Assignees
Labels
bug 🐛 Something isn't working
Milestone

Comments

@ricardozanini
Copy link
Member

ricardozanini commented May 15, 2020

See: #63

This is a regression from #41 fix.

In version 0.2.0 users will see the following message in the logs:

E0515 16:51:07.295411       1 reflector.go:153] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:105: Failed to list *v1.ServiceAccount: serviceaccounts is forbidden: User "system:serviceaccount:nexus:nexus-operator" cannot list resource "serviceaccounts" in API group "" in the namespace "nexus"

To workaround this issue the nexus-operator service account must have permissions on the object serviceAccount. We control this kind of permission in the roles.yaml file. See #41.

There are some other things to polish before to fix this bug. That's why we opened this issue.

@ricardozanini ricardozanini added the bug 🐛 Something isn't working label May 15, 2020
@ricardozanini ricardozanini added this to the v0.2.1 milestone May 15, 2020
@ricardozanini ricardozanini self-assigned this May 15, 2020
ricardozanini added a commit that referenced this issue May 15, 2020
…or to create and manage the Nexus SA

Signed-off-by: Ricardo Zanini <[email protected]>
ricardozanini added a commit that referenced this issue May 15, 2020
…or to create and manage the Nexus SA (#65)

Signed-off-by: Ricardo Zanini <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant