Skip to content

Commit

Permalink
Merge pull request #2266 from npinaeva/ocpbugs-29300
Browse files Browse the repository at this point in the history
[release-4.14] OCPBUGS-29300: Update ingressconfig_controller to use field Manager
  • Loading branch information
openshift-merge-bot[bot] committed Feb 13, 2024
2 parents 41930d5 + c98b61b commit b7ebd94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/controller/ingressconfig/ingressconfig_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,7 @@ func (r *ReconcileIngressConfigs) updatePolicyGroupLabelOnNamespace(ctx context.

newNamespace.SetLabels(existingLabels)

return r.client.Patch(context.TODO(), newNamespace, crclient.MergeFrom(namespace))
return r.client.Patch(context.TODO(), newNamespace, crclient.MergeFrom(namespace), &crclient.PatchOptions{
FieldManager: "cluster-network-operator/ingress_controller",
})
}

0 comments on commit b7ebd94

Please sign in to comment.