k3s/pkg/registry
Kubernetes Submit Queue dcf296a97a
Merge pull request #65154 from jennybuckley/add-update-options-3
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
2018-07-02 11:06:15 -07:00
..
admissionregistration Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
apps Propagate forceAllowCreate as false to all subresources 2018-06-29 11:28:19 -07:00
authentication Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
authorization Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
autoscaling Propagate forceAllowCreate as false to all subresources 2018-06-29 11:28:19 -07:00
batch Propagate forceAllowCreate as false to all subresources 2018-06-29 11:28:19 -07:00
cachesize Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
certificates Propagate forceAllowCreate as false to all subresources 2018-06-29 11:28:19 -07:00
coordination Autogenerated stuff 2018-06-27 13:31:10 +02:00
core Merge pull request #65154 from jennybuckley/add-update-options-3 2018-07-02 11:06:15 -07:00
events Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
extensions Propagate forceAllowCreate as false to all subresources 2018-06-29 11:28:19 -07:00
networking Allow override AllowCreateOnUpdate with new argument to Update 2018-06-28 14:24:51 -07:00
policy Propagate forceAllowCreate as false to all subresources 2018-06-29 11:28:19 -07:00
rbac Allow override AllowCreateOnUpdate with new argument to Update 2018-06-28 14:24:51 -07:00
registrytest Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
scheduling Allow override AllowCreateOnUpdate with new argument to Update 2018-06-28 14:24:51 -07:00
settings Allow override AllowCreateOnUpdate with new argument to Update 2018-06-28 14:24:51 -07:00
storage Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD Autogenerated stuff 2018-06-27 13:31:10 +02:00
OWNERS Add liggitt to registry approvers 2017-09-04 11:20:38 -04:00
doc.go