k3s/pkg/controller
Kubernetes Submit Queue ccb9590a3b
Merge pull request #63386 from roycaihw/gc-json-patch
Automatic merge from submit-queue (batch tested with PRs 63386, 64624, 62297, 64847). 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>.

Let the garbage collector use json merge patch when SMP is not supported

**What this PR does / why we need it**:
Let garbage collector fallback to use json merge patch when strategic merge patch returns 415. This enables orphan delete on custom resources. 

**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 #56348

**Special notes for your reviewer**:
This PR is developed based on https://github.com/kubernetes/kubernetes/pull/56595. Ref https://github.com/kubernetes/kubernetes/pull/56606 for more information. 

**Release note**:

```release-note
Orphan delete is now supported for custom resources
```

/sig api-machinery
2018-06-06 19:56:20 -07:00
..
bootstrap should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
certificates Merge pull request #59727 from wgliang/master.time 2018-05-10 20:29:40 -07:00
cloud Merge pull request #64368 from justinsb/ccm_instanceid_fix 2018-06-02 04:48:38 -07:00
clusterroleaggregation Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cronjob Merge pull request #62011 from hanxiaoshuai/fixtodo0402 2018-04-05 18:47:07 -07:00
daemon Skip updating status for DaemonSet being deleted 2018-06-05 17:03:54 -07:00
deployment Set explicit labels/selector for apps/v1 Deployment/RS. 2018-05-22 13:43:07 -07:00
disruption Merge pull request #59727 from wgliang/master.time 2018-05-10 20:29:40 -07:00
endpoint Actually support service `publishNotReadyAddresses` 2018-05-14 14:19:54 -07:00
garbagecollector Merge pull request #63386 from roycaihw/gc-json-patch 2018-06-06 19:56:20 -07:00
history remove versioning interface 2018-04-27 07:56:42 -04:00
job Rate limit only when an actual error happens, not on update conflicts 2018-06-05 22:53:09 +02:00
namespace fix dynamic client name 2018-05-11 13:12:09 -04:00
nodeipam renable nodeipam in kube-controller-manager 2018-04-23 22:28:37 -04:00
nodelifecycle Parallelize taint manager 2018-05-30 14:46:48 +02:00
podautoscaler Fixing wrong unit test naming 2018-05-19 08:09:39 +08:00
podgc Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
replicaset update tests to be specific about the versions they are testing instead of floating 2018-05-01 13:18:41 -04:00
replication Use typed events client directly 2018-04-01 18:57:29 +10:00
resourcequota Fix quota sync 2018-06-05 04:50:37 -04:00
route should use time.Since instead of time.Now().Sub 2018-04-10 12:05:51 +08:00
service Use typed events client directly 2018-04-01 18:57:29 +10:00
serviceaccount Merge pull request #63582 from WanLinghao/sa_var_clean 2018-05-11 20:00:05 -07:00
statefulset fix unit tests using Patch in fake client 2018-05-30 11:33:55 -07:00
testutil add metadata to kubelet eviction event annotations 2018-05-23 16:12:54 -07:00
ttl Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
util/node PR #59323, fix bug and remove one api call, add node util dependency to cloud controller 2018-04-22 20:32:26 +03:00
volume Merge pull request #63193 from lichuqiang/provision_0425 2018-06-05 15:31:58 -07:00
.import-restrictions
BUILD Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
OWNERS
client_builder.go remove duplicated import 2017-11-14 17:18:17 +08:00
controller_ref_manager.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_ref_manager_test.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_utils.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_utils_test.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
doc.go
lookup_cache.go