从清单中移除的具有自定义 `OwnerReference` 的资源不会被清理
作者: AmitBenAmi创建于 2020年11月5日更新于 2026年9月16日
标签enhancementcomponent:application-controller
Describe the bug
I'm using ArgoCD to deploy my applications on Kubernetes. I'm using my own chart with CRDs I created: Host and Check CRDs. The chart templates both the Host and Check, in a way that a single values.yaml holds one Host resource and multiple Check resources. The logical hierarchy is that Host contains multiple Checks. In my custom controller for the CRDs, I set the OwnerReference of each Check to be its Host - after the resources were deployed to Kubernetes.
内容来源: argoproj/argo-cd