pub fn build_owner_references(instance: &Bind9Instance) -> Vec<OwnerReference>Expand description
Builds owner references for a resource owned by a Bind9Instance
Sets up cascade deletion so that when the Bind9Instance is deleted,
all its child resources (Deployment, Service, ConfigMap) are automatically deleted.
§Arguments
instance- TheBind9Instancethat owns this resource
§Returns
A vector containing a single OwnerReference pointing to the instance