kubernetes/pkg/controller/history
Manu Gupta 79a51090f9
fix: 81134: fix unsafe json for ReleaseControllerRevision (#104049)
* fix: 81134: fix unsafe json for ReleaseControllerRevision

1. Ensures that ReleaseControllerRevision returns a proper json by
marshalling an object into bytes. Otherwise, it returns an error.

2. Also, refactors the code to commonize the merge type
   GenerateDeleteOwnerRefStrategicMergeBytes that returns a byte and is
   used across ReleasePod, ReleaseControllerRevison
   ReleaseReplicaSet.

* Move GeneratePatchBytesForDelete to controller_ref_manager
2021-11-05 06:33:52 -07:00
..
controller_history_test.go fix: 81134: fix unsafe json for ReleaseControllerRevision (#104049) 2021-11-05 06:33:52 -07:00
controller_history.go fix: 81134: fix unsafe json for ReleaseControllerRevision (#104049) 2021-11-05 06:33:52 -07:00
OWNERS Update Sig-Apps OWNERS in places that were missed in #76669 2019-06-19 15:36:16 +02:00