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
Paco Xu
234c33e8b8
deprecated node labels: make naming consistant and remove some unused args in funcs
2022-05-25 15:15:34 +08:00
Paco Xu
3fbfd7eb1b
add deprecated warning for node beta labels in pv/sc/rc/csi storage capacity
...
- (pv) deprecated label using warning for node affinity
- (storageclass) deprecated node labels: allowedTopologies.matchLabelExpressions.key
- (CSIStorageCapacity) deprecated node labels
- (RuntimeClass) deprecated node labels
2022-05-04 15:01:13 +08:00
Kubernetes Prow Robot
cc2807c521
Merge pull request #109303 from wojtek-t/clean_storage_shutdown
...
Cleanup rest storage resources on shutdown
2022-05-03 19:30:57 -07:00
Wojciech Tyczyński
80060a502c
Implement Destroy() method for all registries
2022-04-19 15:59:13 +02:00
Humble Chirammal
c74b393771
csi: add nodeExpandSecret support for CSI client
...
CSI spec 1.5 enhanced the spec to add optional secrets field to
NodeExpandVolumeRequest. This commit adds NodeExpandSecret to the
CSI PV source and also derive the expansion secret in csiclient to
send it out as part of the nodeexpand request.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
2022-04-05 11:36:23 +08:00
Kubernetes Prow Robot
c239b406f0
Merge pull request #108929 from gnufied/move-expansion-feature-gate-ga
...
Move all volume expansion feature gates to GA
2022-03-25 18:08:16 -07:00
Hemant Kumar
ac6ef262df
remove ExpandCSIVolume feature gate
2022-03-24 14:53:00 -04: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
Madhav Jivrajani
f0ef426238
Update tests to have namespace set in req context
...
* This updates tests that make requests that call
into admission.
* For apiextensions-apiserver, the namespace is set
to metav1.NamespaceNone since the CRD created and
worked with is a cluster scoped CRD.
* For most tests in register/storage, the namespace
is set to NamespaceDefault or NamespaceNone based
on if the resource is cluster scoped (namespaces)
or namespace scoped (pvs).
* Endpoints tests now have a namespace specified in
the expected object - NamespaceDefault or other
based on the test.
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2022-02-17 00:13:34 -05:00
Chris Henzie
9ba0eed7c5
Add validation options for PersistentVolumes
...
These options provide an extensible way of configuring how PVs are
validated
2021-06-28 21:24:55 -07:00
Jordan Liggitt
8c8a4cf3e4
Add WarningsOnCreate,WarningsOnUpdate
2021-05-18 10:42:36 -04: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
Jordan Liggitt
bb90f0ff94
Install APIs directly for tests
2019-12-13 11:56:29 -05:00
Roy Hvaara
cfc34712c2
Fix golint issues in pkg/registry/.../storage
2019-11-10 00:22:51 +01: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
Sean Sullivan
abfc5bbbf7
Rename TablePrinter interface to TableGenerator
2019-04-16 12:55:30 -07: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
eaff4fd4d2
Tolerate existing CSI fields in PVs when the feature is disabled
2018-11-14 17:57:54 -05:00
Antoine Pelisse
68937c4934
dry-run: Use dry-runnable structure
2018-08-03 14:30:50 -07: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
David Eads
94e3d94d67
update tests to be specific about the versions they are testing instead of floating
2018-05-01 13:18:41 -04:00
David Eads
a89291a5de
stop duplicating preferred version order
2018-04-26 10:03:36 -04:00
Mike Danese
54fd2aaefd
replace request.Context with context.Context
2018-04-24 08:59:00 -07:00
Maciej Szulik
5630d29552
Add missing table converters for server side printing
2018-02-28 17:27:45 +01:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
linweibin
fa8afc1d39
Remove unused code in UT files in pkg/
2018-01-15 16:02:35 +08:00
Jeff Grafton
efee0704c6
Autogenerate BUILD files
2017-12-23 13:12:11 -08:00
Kubernetes Submit Queue
bebb9c9175
Merge pull request #55963 from sttts/sttts-drop-registrytester-scheme
...
Automatic merge from submit-queue. 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>.
apiserver: remove unneeded scheme from registry tester
Follow-up of https://github.com/kubernetes/kubernetes/pull/55622 , removing an unused scheme.
2017-11-20 07:04:39 -08:00
Dr. Stefan Schimanski
d4d53c0e2a
apiserver: remove unneeded scheme from registry tester
2017-11-20 09:39:44 +01:00
Scott Creeley
de4138d828
generated code for VolumeMode api change
2017-11-18 12:03:33 -05:00
Scott Creeley
36f30bc689
Add VolumeType api to PV and PVC
2017-11-18 11:25:27 -05:00
Dr. Stefan Schimanski
0b100cb69b
registry: move generic registry tester into k8s.io/apiserver
2017-11-16 09:03:42 +01:00
Dr. Stefan Schimanski
3410f536f4
registry: cut-off kube dependencies from registrytest
2017-11-16 08:57:58 +01:00
Dr. Stefan Schimanski
bec617f3cc
Update generated files
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
2452afffe0
admission: wire create+update validation func into kube registries
2017-11-02 09:29:16 +01:00
Dr. Stefan Schimanski
cad0364e73
Update bazel
2017-10-18 17:24:04 +02:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00