[ 
https://issues.apache.org/jira/browse/SUBMARINE-830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chi-Sheng Liu updated SUBMARINE-830:
------------------------------------
    Summary: Set OwnerReferences on resources  (was: Set OwnerReferences on 
submarine custom resources)

> Set OwnerReferences on resources
> --------------------------------
>
>                 Key: SUBMARINE-830
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-830
>             Project: Apache Submarine
>          Issue Type: New Feature
>            Reporter: Chi-Sheng Liu
>            Assignee: Chi-Sheng Liu
>            Priority: Major
>
> Set OwnerReferences on resources created using the spec of submarine custom 
> resources so that:
> # When submarine custom resource is deleted, those resources will be deleted 
> even when operator is not running
> # We can check whether the resources are created from the spec of submarine 
> or not
> References:
> # https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#ObjectMeta
> # 
> https://github.com/kubernetes/sample-controller/blob/73e81dab82c945b087f7db1f1f4a7b50e7d92751/controller.go#L388-L403
> # 
> https://github.com/kubernetes/sample-controller/blob/73e81dab82c945b087f7db1f1f4a7b50e7d92751/controller.go#L289-L293



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to