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

kubernetes-operator does not have sufficient RBAC permissions #362

Closed
Nuru opened this issue May 4, 2020 · 1 comment · Fixed by #373
Closed

kubernetes-operator does not have sufficient RBAC permissions #362

Nuru opened this issue May 4, 2020 · 1 comment · Fixed by #373
Labels
bug Something isn't working

Comments

@Nuru
Copy link

Nuru commented May 4, 2020

Expected Behavior

kubernetes-operator is given all needed RBAC permissions

Actual Behavior

When updating Jenkins with new ServiceAccount annotations, the update fails with error:

serviceaccounts "jenkins-operator-jenkins" is forbidden: User "system:serviceaccount:jenkins:jenkins-operator" cannot update resource "serviceaccounts" in API group "" in the namespace "jenkins"

Steps to Reproduce the Problem

  1. Deploy Jenkins 2.222.3 with kubernetes-operator v0.4.0 using helm chart 0.2.0 onto Kuberentes 1.15.11
  2. Change the annotations under
spec: 
  serviceAccount:
          annotations:

in the Jenkins Resource
3. View the logs of the kubernetes-operator

@tomaszsek
Copy link

Fixed in 0.2.2 Helm chart

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.

2 participants