parca-dev / parca-agent

eBPF based always-on profiler auto-discovering targets in Kubernetes and systemd, zero code changes or restarts needed!
https://parca.dev/
Apache License 2.0
546 stars 68 forks source link

Remove namespace from Cluster Kubernetes resources #1882

Open jzelinskie opened 1 year ago

jzelinskie commented 1 year ago

Describe the bug kustomizer stumbles when it hits cluster resources with namespaces. The latest releases specify the ClusterRole and ClusterRoleBinding objects with the parca namespace.

To Reproduce Use kustomizer to try and apply the latest release manifests.

Expected behavior These resources apply cleanly because they do not have a namespace.

Logs ✗ timeout waiting for: [ClusterRoleBinding/parca/parca-agent status: 'Unknown', ClusterRole/parca/parca-agent status: 'Unknown']

Software (please complete the following information):

jzelinskie commented 1 year ago

linking https://github.com/stefanprodan/kustomizer/issues/89