Merge pull request #33339 from quinton-hoole/2016-09-22-fix-uid-failure-updating-ingress
Automatic merge from submit-queue
Don't try to write the wrong UID, version on Federated Ingress updates.
Fixes #33135.
This looks more complicated than it really is.
Essentially, use the cluster object's metadata, rather than the federated objects's metadata when updating cluster Ingress objects. The deepcopy stuff is mainly to get around shortcomings in the Kubernetes fake test infrastructure, which ends up with crossed pointers if we don't deep copy.
Showing
Please
register
or
sign in
to comment