使用 ObjectMeta属性中的 OwnerRefrence 来做资源关联,有两个特性: 1.Owner 资源被删除,被 Own 的资源会被级联删除,这利用了 K8s 的 GC; 1.被 Own 的资源对象的事件变更可以触发 Owner 对象的 Reconcile 方法;
(app *myappv1.App)
source not stored for this graph (policy: none)
no test coverage detected