Skip to main content

is_our_replicaset

Function is_our_replicaset 

Source
pub fn is_our_replicaset(
    rs: &ReplicaSet,
    deployment_uid: Option<&str>,
    cr_uid: &str,
) -> bool
Expand description

Is this ReplicaSet ours: controlled by our Deployment, or labelled with our UID (the Deployment template label, so it also finds ReplicaSets whose Deployment is already gone)?