• Kubernetes Submit Queue's avatar
    Merge pull request #65154 from jennybuckley/add-update-options-3 · dcf296a9
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 65299, 65524, 65154, 65329, 65536). 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>.
    
    Allow override of AllowCreateOnUpdate with new argument to Update
    
    **What this PR does / why we need it**:
    Changes the Update function signature to include a new bool which tells storage to override what the UpdateStrategy returns for AllowCreateOnUpdate. This is not exposed to the user, the handler is the one that sets this override value. Eventually the patch handler will set this to true, in order to provide more consistent apply behavior, without changing the existing PUT behavior.
    
    Redo of https://github.com/kubernetes/kubernetes/pull/65075 but on master to reduce number of conflicts when we merge feature-serverside-apply with master.
    
    /sig api-machinery
    /cc @apelisse @lavalamp 
    
    **Release note**:
    ```release-note
    NONE
    ```
    No release note because this is just an internal change
    dcf296a9
Name
Last commit
Last update
..
admissionregistration Loading commit data...
apps Loading commit data...
authentication Loading commit data...
authorization Loading commit data...
autoscaling Loading commit data...
batch Loading commit data...
cachesize Loading commit data...
certificates Loading commit data...
coordination Loading commit data...
core Loading commit data...
events Loading commit data...
extensions Loading commit data...
networking Loading commit data...
policy Loading commit data...
rbac Loading commit data...
registrytest Loading commit data...
scheduling Loading commit data...
settings Loading commit data...
storage Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...