astraw99
532c5c3d69
fix delete nil pointer panic
...
Kubernetes-commit: af19d7f415d70a1de3d67a00921865ba2868b425
2021-06-26 18:06:20 +08:00
Shiming Zhang
b76bf120f0
Allow delete with grace period 1s even if metadata period is negative
...
Kubernetes-commit: a8d4cfac933485b9b4e5e802e267723ce9d2b90f
2021-06-21 15:12:17 +08:00
Jordan Liggitt
0c706a033c
Plumb context to admission Admit/Validate
...
Kubernetes-commit: 61774cd7176cae0c0324d23ab20e6c6b3038153f
2019-08-19 10:48:08 -04:00
Chao Xu
5c9333e4d3
Run deleteValidation at the storage layer so that it will be retried on
...
conflict.
Adding unit test verify that deleteValidation is retried.
adding e2e test verifying the webhook can intercept configmap and custom
resource deletion, and the existing object is sent via the
admissionreview.OldObject.
update the admission integration test to verify that the existing object
is passed to the deletion admission webhook as oldObject, in case of an
immediate deletion and in case of an update-on-delete.
Kubernetes-commit: 7bb4a3bace048cb9cd93d0221a7bf7c4accbf6be
2019-04-09 13:49:16 -07:00
yue9944882
019679ce23
Cherrypicking #66535
...
validate deletion admission object
backward compatibility: add validation for direct storage delete calls
apply nil validation to existing tests
revert behavior changes in deleteCollection call
fixes validation on wiring graceful deletion
remove nil validation check
continue admission check on not found error
Kubernetes-commit: 34c4a6e05767e6c6211b88ccc653f2b07021906a
2018-07-24 12:24:59 +08:00
ajatprabha
e6793285a2
check for ResourceVersion conflict in separate if block
...
Kubernetes-commit: 42f0a36f44bac33f4230fdea9f3dcc4bfb645a0a
2019-02-15 04:37:18 +05:30
ajatprabha
10074505ca
add ResourceVersion to DeleteOptions.Preconditions
...
Kubernetes-commit: 8f48d762717dfe1f479cfabaabc4fb9261a1bc8f
2019-02-14 04:09:12 +05:30
Mike Danese
cd0258b4d7
replace request.Context with context.Context
...
Kubernetes-commit: 54fd2aaefd11e12a3ecb6d1a1326f04cdc8ea1a3
2018-04-24 08:10:34 -07:00
Cao Shufeng
2cb36e30a2
fix error message about DeleteOptions
...
Kubernetes-commit: c9aac2b2e0297ebb4e0b5425ad986069dd762e01
2018-01-02 19:24:32 +08:00
Di Xu
ed8f1885d6
change DefaultGarbageCollectionPolicy to DeleteDependents for workload controllers
...
Kubernetes-commit: 344fe56ed30c0b83ab0a01e3b1344ecea3925863
2017-11-06 17:12:57 +08:00
huangjiuyuan
ce838cffe4
modifying the comment of BeforeDelete function to improve readibility
...
Kubernetes-commit: 4ce3b6cf4f8486e4335d05d7f573ad1859c14ce8
2017-09-01 16:37:07 +00:00
deads2k
f73160e236
allow a deletestrategy to opt-out of GC
...
Kubernetes-commit: 312fb1e1fa198f4715598feac659f5eeffd05032
2017-07-04 08:39:44 +00:00
deads2k
5e858945af
remove objectmetafor
...
Kubernetes-commit: 04460c8750b9a47672aa708251de0e703cfb7266
2017-04-11 20:35:21 +00:00
Chao Xu
a258201e01
registry changes
...
Kubernetes-commit: 93686da1044ea5396978a9bc86468dd3d1c32190
2017-03-18 19:56:09 +00:00
Dr. Stefan Schimanski
f3c3e07241
Mechanical move: pkg/genericapiserver -> k8s.io/apiserver
2017-02-13 07:36:41 -05:00