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

CH 11 Jenkins do not have required permissions for manage replica set #20

Open
czmoku opened this issue Aug 15, 2021 · 1 comment
Open

Comments

@czmoku
Copy link

czmoku commented Aug 15, 2021

Hi

I've notice that jenkins pipeline failed in ch 11. Please fix this issue and change this:
ch11/insfrastructure/jenkins.yaml:77:

- apiGroups: ["apps"]
  resources: ["deployments", "replicasets"]
  verbs: ["get","list","create","delete"]

Tested on latest K3S, pulled today.

@wolfewa
Copy link

wolfewa commented Aug 13, 2022

Getting this error at the end of the build and the build will fail
Error: query: failed to query with labels: secrets is forbidden: User "system:serviceaccount:default:jenkins" cannot list resource "secrets" in API group "" in the namespace "kiamol-ch11-test"

when I updated the above the error resolved.

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