- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for updateClaimOwnerRefForSetAndPod (0.41 sec)
-
pkg/controller/statefulset/stateful_set_utils.go
return false } } return true } // updateClaimOwnerRefForSetAndPod updates the ownerRefs for the claim according to the deletion policy of // the StatefulSet. Returns true if the claim was changed and should be updated and false otherwise. // isClaimOwnerUpToDate should be called before this to avoid an expensive update operation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control.go
} if !isClaimOwnerUpToDate(logger, claim, set, pod) { claim = claim.DeepCopy() // Make a copy so we don't mutate the shared cache. updateClaimOwnerRefForSetAndPod(logger, claim, set, pod) if err := spc.objectMgr.UpdateClaim(claim); err != nil { return fmt.Errorf("could not update claim %s for delete policy ownerRefs: %w", claimName, err) } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 14.9K bytes - Viewed (0)