Skip to content

Commit

Permalink
Force status field ownership by core Kueue to fix the MultiKueue inte…
Browse files Browse the repository at this point in the history
…gration (#3396)

Co-authored-by: Patryk Bundyra <[email protected]>
  • Loading branch information
k8s-infra-cherrypick-robot and PBundyra authored Oct 31, 2024
1 parent 916dfde commit 73e2a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/workload/workload.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ func ApplyAdmissionStatus(ctx context.Context, c client.Client, w *kueue.Workloa

// ApplyAdmissionStatusPatch applies the patch of admission related status fields of a workload with SSA.
func ApplyAdmissionStatusPatch(ctx context.Context, c client.Client, patch *kueue.Workload) error {
return c.Status().Patch(ctx, patch, client.Apply, client.FieldOwner(constants.AdmissionName))
return c.Status().Patch(ctx, patch, client.Apply, client.FieldOwner(constants.AdmissionName), client.ForceOwnership)
}

type Ordering struct {
Expand Down

0 comments on commit 73e2a4c

Please sign in to comment.