Tim Hockin
29c0b73d64
Replace uses of diff.ObjectDiff with cmp.Diff
...
ObjectDiff is already a shim over cmp.Diff, so no actual output or
behavior changes
2023-04-12 08:46:12 -07:00
Antoine Pelisse
4f3859ce91
managedfields: Move most of fieldmanager package to managefields
2023-03-08 13:44:00 -08:00
Kubernetes Prow Robot
12c71fdf1c
Merge pull request #113542 from ardaguclu/fix-shortname-disperancy
...
Set singular names for core types to pass to discovery
2023-01-03 09:29:43 -08:00
Tim Hockin
820e2fff0d
rs: API warn when name is not DNS label
2022-12-16 13:06:43 -08:00
Arda Güçlü
1abf94bec3
Remove GetSingularName for subresources
2022-11-18 12:21:19 +03:00
Arda Güçlü
672e0b1e01
Use correct singular name format for subresources
2022-11-18 12:21:19 +03:00
Arda Güçlü
578ddde80e
Add singular name for the rest of types
2022-11-18 12:21:13 +03:00
Arda Güçlü
0990ba1cc9
Introduce singularNameProvider for core types
...
This introduces `singularNameProvider`. This provider will be used
by core types to have their singular names are defined in discovery
endpoint. Thanks to that, core resources singular name always have
higher precedence than CRDs shortcuts or singular names.
2022-11-18 12:21:07 +03:00
Abirdcfly
00b9ead02c
cleanup: remove duplicate import
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
2022-07-14 11:25:19 +08:00
Wojciech Tyczyński
80060a502c
Implement Destroy() method for all registries
2022-04-19 15:59:13 +02:00
Patrick Ohly
edffc700a4
enhance and fix log calls
...
Some of these changes are cosmetic (repeatedly calling klog.V instead of
reusing the result), others address real issues:
- Logging a message only above a certain verbosity threshold without
recording that verbosity level (if klog.V().Enabled() { klog.Info... }):
this matters when using a logging backend which records the verbosity
level.
- Passing a format string with parameters to a logging function that
doesn't do string formatting.
All of these locations where found by the enhanced logcheck tool from
https://github.com/kubernetes/klog/pull/297 .
In some cases it reports false positives, but those can be suppressed with
source code comments.
2022-03-24 11:13:50 +01:00
Kubernetes Prow Robot
9fbe66a486
Merge pull request #103516 from ykakarap/kubectl-subresources-apiserver
...
kubectl: apiserver changes to add --subresource support
2022-03-23 13:21:32 -07:00
Yuvaraj Kakaraparthi
801c39b478
kubectl: API changes to support --subresource in kubectl
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com >
Co-authored-by: Nikhita Raghunath <nikitaraghunath@gmail.com >
Co-authored-by: Yuvaraj Kakaraparthi <kakaraparthy@vmware.com >
2022-03-23 11:19:58 +05:30
Jordan Liggitt
616ac2f2d0
Clean up unused configurable categories
2022-03-03 09:27:38 -05:00
Jordan Liggitt
f98ff65564
Drop DefaultGarbageCollectionPolicy checks for legacy apps REST API versions
2021-08-09 17:04:31 -04:00
Aldo Culquicondor
bb56a0bd04
Add Job.status.uncountedPodUIDs
...
For tracking Job Pods that have finished but are not yet counted as failed or succeeded
And feature gate JobTrackingWithFinalizers
Change-Id: I3e080f3ec090922640384b692e88eaf9a544d3b5
2021-07-08 15:31:59 +00:00
Jordan Liggitt
f669796dfd
Send pod spec warnings when creating or changing workload objects
2021-05-18 10:42:36 -04:00
Jordan Liggitt
8c8a4cf3e4
Add WarningsOnCreate,WarningsOnUpdate
2021-05-18 10:42:36 -04:00
Andrea Nodari
09649e58b5
Check request info when updating managed fields during scale
...
- Test all versions to make sure each resource version is in the
mappings
- Fail when request info contains an unrecognized version. We have tests
that guarantee that all known versions are in the mappings. If we
get a version in request info that is not there we should fail fast to
prevent inconsistent behaviour (e.g. for some reason the mappings is
not up to date).
Ensure all known versions are in mappings
2021-04-21 20:27:02 +02:00
Antoine Pelisse
816e80206c
Use ScaleHandler for all scalable resources
2021-04-21 18:41:40 +02:00
Kevin Delgado
a1fac8cbd9
Server-Side Apply: Status Wiping/Reset Fields
...
Adds and implements ResetFieldsProvder interface in order to ensure that
the fieldmanager no longer owns fields that get reset before the object
is persisted.
Co-authored-by: Kevin Wiesmueller <kwiesmul@redhat.com >
Co-authored-by: Kevin Delgado <kevindelgado@google.com >
2021-03-10 01:02:18 +00:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Derek Carr
45bd6cb186
Downward API hugepages
2020-11-10 16:09:13 -05:00
Dan Winship
3a110546ed
Move SCTP to GA
2020-10-15 08:56:33 -04:00
Jordan Liggitt
dab2a830da
Fix conflicts patching scale subresources
2020-04-21 16:36:24 -04:00
Artur Gadelshin
3ab5ea09ed
Fix goling issues for pkg/registry/apps
2020-04-08 23:12:29 +02:00
Chin-Ya Huang
92c7e8e802
Fix golint failures
...
* Remove pkg/registry/apps/replicaset
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com >
2019-11-13 11:00:12 +08:00
Jordan Liggitt
61774cd717
Plumb context to admission Admit/Validate
2019-08-20 11:11:00 -04:00
Ted Yu
87b2a3129b
Propagate error from NewREST
2019-08-12 13:55:35 -07:00
wojtekt
a756e20cb5
Update autogenerated files
2019-07-01 15:02:49 +02:00
wojtekt
7497260e54
Move etcd/testing to etcd3/testing
2019-07-01 15:02:49 +02:00
danielqsj
142fe19f2d
fix increment-decrement lint error
2019-05-06 13:14:51 +08:00
Jordan Liggitt
dced88e703
Fix scale subresource when used with admission webhooks
2019-04-20 03:33:36 -04:00
Sean Sullivan
abfc5bbbf7
Rename TablePrinter interface to TableGenerator
2019-04-16 12:55:30 -07:00
Jordan Liggitt
4271384966
Call conditional validation from create/update strategies
2019-02-05 23:09:31 -05:00
Jordan Liggitt
17aa60686e
Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options
2019-01-23 16:34:43 -05:00
Jordan Liggitt
12dd768bee
Pass pod annotations into DropDisabledFields()
2019-01-07 14:44:20 -05:00
Jordan Liggitt
e486d486b1
Plumb old pod spec into DropDisabledFields methods
2018-12-17 12:49:29 -05:00
Jordan Liggitt
49028df5f9
Rename DropDisabledFields
2018-12-17 12:08:25 -05:00
Jordan Liggitt
3b099ddf86
Ensure all new API versions of resources default to DeleteDependents
2018-12-06 19:58:14 -05:00
Jordan Liggitt
572dfe6cb7
generated files
2018-10-25 21:12:57 -04:00
Jordan Liggitt
d0577ace6b
fixup extensions->apps references
2018-10-25 21:12:57 -04:00
Antoine Pelisse
68937c4934
dry-run: Use dry-runnable structure
2018-08-03 14:30:50 -07:00
Jordan Liggitt
652e2dc025
generated
2018-07-13 11:41:09 -04:00
Jordan Liggitt
617078d220
Remove hand-written typed registries
2018-07-13 11:40:52 -04:00
Jordan Liggitt
3cb771a866
Use storage directly for scale subresources
2018-07-13 11:40:52 -04:00
Antoine Pelisse
03b1e14101
dry-run: Create new options for Update/Create and pass it along
2018-07-12 07:18:37 -07:00
jennybuckley
c60fe4fb76
Propagate forceAllowCreate as false to all subresources
2018-06-29 11:28:19 -07:00
jennybuckley
d10e08fc89
Allow override AllowCreateOnUpdate with new argument to Update
2018-06-28 14:24:51 -07:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00