• Kubernetes Submit Queue's avatar
    Merge pull request #47075 from janetkuo/ds-history-patch · aa35738a
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Change what is stored in DaemonSet history `.data`
    
    **What this PR does / why we need it**: 
    In DaemonSet history `.data`, store a strategic merge patch that can be applied to restore a DaemonSet. Only PodSpecTemplate is saved. 
    
    This will become consistent with the data stored in StatefulSet history. 
    
    Before this fix, a serialized pod template is stored in `.data`; however, seriazlized pod template isn't a `runtime.RawExtension`, and caused problems when controllers try to patch the history's controller ref. 
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #47008
    
    **Special notes for your reviewer**: @kubernetes/sig-apps-bugs @erictune @kow3ns @kargakis @lukaszo @mengqiy 
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    aa35738a
Name
Last commit
Last update
..
e2e Loading commit data...
e2e_federation Loading commit data...
e2e_node Loading commit data...
fixtures Loading commit data...
images Loading commit data...
integration Loading commit data...
kubemark Loading commit data...
list Loading commit data...
soak Loading commit data...
utils Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
test_owners.csv Loading commit data...
test_owners.json Loading commit data...