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

Logs spammed with RBAC issue #21

Closed
MathyV opened this issue May 2, 2024 · 1 comment
Closed

Logs spammed with RBAC issue #21

MathyV opened this issue May 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MathyV
Copy link
Contributor

MathyV commented May 2, 2024

Describe the bug
Looking at the logs for the pod I can see these error messages spammed:

go@v0.20.0/tools/cache/reflector.go:167: Failed to watch *v1beta1.PriorityLevelConfiguration: failed to list *v1beta1.PriorityLevelConfiguration: prioritylevelconfigurations.flowcontrol.apiserver.k8s.io is forbidden: User "system:serviceaccount:cert-manager:scaleway-webhook" cannot list resource "prioritylevelconfigurations" in API group "flowcontrol.apiserver.k8s.io" at the cluster scope

To Reproduce
Just install it and look at the pod logs

Expected behavior
No errors

Details (please complete the following information):

  • Scaleway Cert Manager Webhook version: latest
  • Platform: ?
  • Kubernetes version: 1.29.1

Additional context
The solution is described in this other webhook provider here:

puzzle/cert-manager-webhook-dnsimple#8 (comment)

The reason why this pops up is also described in that same issue. I applied an extra cluster role as suggested in the comment and it worked.

I don't use the Helm chart, but I created my own set of YAML files based on the chart, so I can't provide the patch.

@MathyV MathyV added the bug Something isn't working label May 2, 2024
@MathyV
Copy link
Contributor Author

MathyV commented May 8, 2024

Fixed with v0.1.0

@MathyV MathyV closed this as completed May 8, 2024
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

No branches or pull requests

1 participant