Jordan Liggitt
8c8a4cf3e4
Add WarningsOnCreate,WarningsOnUpdate
2021-05-18 10:42:36 -04:00
David Eads
bd5b1e2d05
move secret mutation from validation to prepareforupdate
2021-03-08 10:02:41 -05:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
David Eads
37cc89ed8d
finish removal of exportoptions
2021-01-22 13:47:31 -05:00
wojtekt
8ce71fbae2
Autogenerated
2020-12-30 16:00:41 +01:00
wojtekt
0f88bbe9b1
Promote Immutable Secrets/ConfigMaps feature to GA
2020-12-30 16:00:41 +01:00
wojtekt
9174905ae7
Autogenerated
2020-01-12 21:09:05 +01:00
wojtekt
e612ebfdff
Immutable field and validation
2020-01-12 20:51:31 +01:00
Jordan Liggitt
bb90f0ff94
Install APIs directly for tests
2019-12-13 11:56:29 -05:00
guineveresaenger
82123dc261
Removes pkg/registry/core/secret/storage from golint failures
2019-10-14 14:28:32 -04:00
Kubernetes Prow Robot
890b50f98b
Merge pull request #80952 from tedyu/storage-ret-err
...
Propagate error from NewREST
2019-08-12 18:21:52 -07:00
Ted Yu
87b2a3129b
Propagate error from NewREST
2019-08-12 13:55:35 -07:00
Mark Janssen
231d2a9617
Fix golint failures of pkg/registry/core/event
2019-08-06 21:13:55 +02:00
wojtekt
467f5e96ee
Fix some golint failures
2019-07-25 20:38:28 +02:00
Ted Yu
6e98aab26e
Rename TriggerPublisherFunc as IndexerFunc
2019-07-18 06:45:51 -07:00
wojtekt
68fd329e00
Simplify trigger functions in cacher
2019-07-16 08:55:34 +02: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
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
wojtekt
1a1d7205b4
Trigger function for secrets
2018-05-24 15:05:37 +02: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
Mike Danese
1fbf8b8f2a
svcacct: move getters to use an external clientset
2018-02-27 17:20:46 -08:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Jeff Grafton
efee0704c6
Autogenerate BUILD files
2017-12-23 13:12:11 -08:00
Dr. Stefan Schimanski
d4d53c0e2a
apiserver: remove unneeded scheme from registry tester
2017-11-20 09:39:44 +01: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
Dr. Stefan Schimanski
509df603b1
apimachinery: mechanical removal of ObjectCopier plumbing
2017-10-06 19:21:03 +02:00
Clayton Coleman
fc2d201e15
Allow watch cache to be disabled per type
...
Currently setting watch cache size for a given resource does not disable
the watch cache. This commit adds a new `default-watch-cache-size` flag
to map to the existing field, and refactors how watch cache sizes are
calculated to bring all of the code into one place. It also adds debug
logging to startup to allow us to verify watch cache enablement in
production.
2017-09-08 13:42:28 -04:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
zhouhaibing089
2e5dc7d727
add fuzzer dir for each apigroup
2017-08-11 15:12:57 +08:00
Devan Goodwin
855a1c1713
Fix unused Secret export logic.
...
The strategy used for the secret store defined custom export logic, and
had accompanying unit tests. However the secret storage did not actually
wire this up by setting an ExportStrategy and thus the code was never
used in the real world.
This change fixes the missing assignment and adds testing at a higher
level to ensure any uses of the generic registry.Store that we expect to
have an ExportStrategy do, and no others.
Several other strategies in the RBAC package also appeared to have
unwired Export logic, however their implementations were all empty
leading me to believe that these are not considered exportable. The
empty methods have now been removed.
2017-08-09 11:07:51 -03:00
Shiyang Wang
2eda19da7b
Fix NotFound errors do not line up with API endpoint's group version
2017-08-07 16:30:40 +08:00
Clayton Coleman
2568a92119
Grow signature for predicate attributes to include init status
2017-06-02 22:09:04 -04:00
Monis Khan
ed35deb69d
Default ObjectNameFunc for all REST Stores
...
All Stores in Kubernetes follow the same logic for determining the name
of an object. This change makes it so that CompleteWithOptions defaults
the ObjectNameFunc if it is not specified. Thus a user does not need to
remember to use ObjectMeta.Name. Using the wrong field as the name can
lead to an object which has a name that bypasses normal object name
validation.
Signed-off-by: Monis Khan <mkhan@redhat.com>
2017-04-21 15:47:25 -04:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
nikhiljindal
1d32897eed
Updating the registry to return whether the resource was immediately deleted
2017-02-21 11:00:35 -08:00
Dr. Stefan Schimanski
6af3210d6f
Update generated files
2017-02-03 08:15:46 +01:00