Possible Misconfiguration in ClusterRole Definition
- Dominant language
- Go
- Stars
- 3.2k
- Forks
- 304
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 78
Description
I noticed that the ClusterRole definition in the Helm YAML file includes a namespace field. Since ClusterRole is a cluster-scoped resource, it should not have a namespace assigned.
Could you confirm whether this is intentional or an oversight?
Reference:
[ClusterRole YAML in Retina Helm Chart](https://github.com/microsoft/retina/blob/89a07678db8f53d03b4460511e06959659271c60/deploy/hubble/manifests/controller/helm/retina/templates/agent/clusterrole.yaml#L5)
Thanks!
Contributor guide
Research direction
Open deploy/hubble/manifests/controller/helm/retina/templates/agent/clusterrole.yaml at line 5 and inspect the rendered ClusterRole manifest produced by the Helm chart. Confirm whether the namespace field is intentional for this cluster-scoped resource; done means the chart has the correct manifest and a focused validation or template test passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100