• Kubernetes Submit Queue's avatar
    Merge pull request #66581 from janetkuo/deploy-progress · 259e0743
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
     Default extensions/v1beta1 Deployment's ProgressDeadlineSeconds to MaxInt32
    
    **What this PR does / why we need it**: Default values should be set in all API versions, because defaulting happens whenever a serialized version is read. When we switched to `apps/v1` as the storage version in `1.10` (#58854), `extensions/v1beta1` `DeploymentSpec.ProgressDeadlineSeconds` gets `apps/v1` default value (`600`) instead of being unset. 
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #66135 
    
    **Special notes for your reviewer**: We need to cherrypick this fix to 1.10 and 1.11. Note that this fix will only help people who haven't upgraded to 1.10 or 1.11 when the storage version is changed. 
    
    @kubernetes/sig-apps-bugs 
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    259e0743
defaults_test.go 21.4 KB