Open
Description
By setting ownerReference
on the secrets pointing to the source ClusterSecret Custom Resource adds a coupling that is both useful when just looking at the YAML of a secret, as well as then the operator could offload the deletion of secrets when the parent ClusterSecret is removed to the kubernetes built-in APIs.
The ownerReference
field can also be added on existing objects, so the secrets wont have to be recreated when adding this feature, only updated.