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
Namespaced resources owned by clusterscoped resources don't show up in the UI. #7733
Comments
Confirmed. Bug is reproducible in the latest argocd version (v2.2.0-rc1) |
I saw the same issue when using KubeVela with Argo CD. KubeVela's |
I'm interested in trying to fix this, does anyone know where the relevant code would be to get started? Edit: I actually think the issue might be in the gitops engine, after poking around in the code trying to trace things, but I'm at a loss as to how to fix it. |
@empath-nirvana we already started the discussion here :) |
@crenshaw-dev it would be awesome if this PR could make it to 2.10 🙏. The upstream PR looks ready. |
argocd version
.Describe the bug
Namespaced resources owned by clusterscoped resources don't show up in the UI.
To Reproduce
Sync a cluster scoped resource using argocd, then create a namespaced resource separately and make the cluster-scoped resource the owner of the namespaced resource -- refresh the app, the child resource does not show up. I tested this with service accounts owned by a role and clusterrole, and the one owned by the role showed up, but not the one owned by the cluster role -- this came up in practice with crossplane where most of the resources it manages are cluster scoped but it makes namespaced child resources.
Expected behavior
Namespaced child resources of clusterscoped objects should show up in the ui.
Version
argocd: v2.0.3+8d2b13d.dirty BuildDate: 2021-05-27T19:03:20Z GitCommit: 8d2b13d733e1dff7d1ad2c110ed31be4804406e2 GitTreeState: dirty GoVersion: go1.16.4 Compiler: gc Platform: darwin/amd64 WARN[0000] Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web. argocd-server: v2.1.2+7af9dfb BuildDate: 2021-09-02T18:05:23Z GitCommit: 7af9dfb3524c13e941ab604e36e49a617fe47d2e GitTreeState: clean GoVersion: go1.16.5 Compiler: gc Platform: linux/amd64 Ksonnet Version: v0.13.1 Kustomize Version: v4.2.0 2021-06-30T22:49:26Z Helm Version: v3.6.0+g7f2df64 Kubectl Version: v0.21.0 Jsonnet Version: v0.17.0
Logs
The text was updated successfully, but these errors were encountered: