microsoft / microsoft/retina

Possible Misconfiguration in ClusterRole Definition

Open
#1,305 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.