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

[jaeger-operator] Add ingressclasses to role.yaml so that the CRD has correct permissions when rbac.cluster.Role is set #591

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

shivendoodeshmukh
Copy link
Contributor

What this PR does

Add ingressclasses to role.yaml so that the CRD has correct permissions when rbac.cluster.Role is set

Which issue this PR fixes

Checklist

  • DCO signed
  • Commits are GPG signed
  • Chart Version bumped
  • Title of the PR starts with chart name ([jaeger] or [jaeger-operator])
  • README.md has been updated to match version/contain new values

Signed-off-by: shivendoodeshmukh <shivendoo@gcoea.ac.in>
Signed-off-by: shivendoodeshmukh <shivendoo@gcoea.ac.in>
@batazor batazor merged commit 64baeb5 into jaegertracing:main Jul 30, 2024
2 checks passed
@FraPazGal
Copy link

Seems the operator still reports issues with this:

$ helm install jaeger-operator jaegertracing/jaeger-operator --version 2.55.0
$ kubectl logs $POD --namespace=default
...
W0731 08:01:25.681117       1 reflector.go:539] pkg/mod/k8s.io/client-go@v0.29.3/tools/cache/reflector.go:229: failed to list *v1.IngressClass: ingressclasses.networking.k8s.io is forbidden: User "system:serviceaccount:default:jaeger-operator" cannot list resource "ingressclasses" in API group "networking.k8s.io" at the cluster scope
E0731 08:01:25.681154       1 reflector.go:147] pkg/mod/k8s.io/client-go@v0.29.3/tools/cache/reflector.go:229: Failed to watch *v1.IngressClass: failed to list *v1.IngressClass: ingressclasses.networking.k8s.io is forbidden: User "system:serviceaccount:default:jaeger-operator" cannot list resource "ingressclasses" in API group "networking.k8s.io" at the cluster scope

Probably requires adding the ingressclasses resource to the networking.k8s.io apiGroup in role.yaml

hellspawn679 pushed a commit to hellspawn679/helm-charts that referenced this pull request Nov 1, 2024
… correct permissions when rbac.cluster.Role is set (jaegertracing#591)

* Update role.yaml to solve issue 581

Signed-off-by: shivendoodeshmukh <shivendoo@gcoea.ac.in>

* Bump Chart Version

Signed-off-by: shivendoodeshmukh <shivendoo@gcoea.ac.in>

---------

Signed-off-by: shivendoodeshmukh <shivendoo@gcoea.ac.in>
Signed-off-by: mehul <mehulsharam4786@gmail.com>
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.

[Bug]: Jaeger Custom Resource not works
3 participants