apiserver/pkg/admission
carlory 13a27b8dd7 Fix a bug where the `ResourceQuota` admission plugin does not respect ANY scope change when a resource is being updated. i.e. to set/unset an existing pod's `terminationGracePeriodSeconds` field.
Kubernetes-commit: eb0f003d25209c850b47a275358aea53252274b4
2025-02-10 14:30:50 +08:00
..
configuration Pre-allocate webhook accessors arrays for mutating and validating 2023-07-13 23:43:12 +01:00
initializer update to inject only the list of excluded resources. 2024-03-05 10:27:35 -08:00
metrics Fix docs for apiserver admission metrics 2024-08-05 16:42:09 -07:00
plugin Fix a bug where the `ResourceQuota` admission plugin does not respect ANY scope change when a resource is being updated. i.e. to set/unset an existing pod's `terminationGracePeriodSeconds` field. 2025-02-10 14:30:50 +08:00
testing Linter to ensure go-cmp/cmp is used ONLY in tests 2025-01-24 17:03:29 -05:00
attributes.go audit & admission: associate annotation with audit level 2019-05-31 15:36:29 -07:00
attributes_test.go fix: enable expected-actual rule from testifylint in module `k8s.io/apiserver` 2024-09-27 07:49:07 +02:00
audit.go Don't add audit annotations directly to the audit event 2022-03-28 11:38:38 -07:00
audit_test.go fix wrong assertion on tests 2025-02-22 12:39:01 +08:00
chain.go Plumb context to admission Admit/Validate 2019-08-19 10:48:08 -04:00
chain_test.go Plumb context to admission Admit/Validate 2019-08-19 10:48:08 -04:00
config.go AdmissionConfiguration now uses strict validation 2024-10-11 16:58:04 -07:00
config_test.go AdmissionConfiguration now uses strict validation 2024-10-11 16:58:04 -07:00
conversion.go migrate versionedattr to avoid circular dependency 2023-03-03 14:04:29 -06:00
conversion_test.go Replace uses of ObjectReflectDiff with cmp.Diff 2023-03-23 11:34:03 -07:00
decorator.go add an admission decorator chain 2018-02-14 09:27:25 -05:00
errors.go make admission tolerate object without objectmeta for errors 2017-08-29 13:13:06 +00:00
errors_test.go Update tests for: Pass {Operation}Option to Webhooks 2019-05-07 13:37:07 -07:00
handler.go refactor admission handler and add UT 2017-11-03 16:40:15 +08:00
handler_test.go refactor admission handler and add UT 2017-11-03 16:40:15 +08:00
interfaces.go Fix the doc string of GetOldObject func 2021-10-28 17:03:18 +03:00
plugins.go api-machinery: stop using deprecated io/ioutil 2023-05-02 15:08:18 +02:00
reinvocation.go Plumb context to admission Admit/Validate 2019-08-19 10:48:08 -04:00
util.go Add GetResourceMapper to admission ObjectInterfaces 2019-05-13 11:24:20 -04:00