Kubernetes Prow Robot
08afeb855f
Merge pull request #77821 from kwiesmueller/clear-managed-fields
...
add test to make sure managedFields can be reset
2019-05-14 15:34:32 -07:00
Kubernetes Prow Robot
0b6ad8bc3f
Merge pull request #77563 from jpbetz/admission-webhook-options
...
Pass {Operation}Options to Webhooks
2019-05-14 15:34:19 -07:00
Joe Betz
900d652a9a
Update tests for: Pass {Operation}Option to Webhooks
2019-05-14 10:49:43 -07:00
Dr. Stefan Schimanski
28f88c91ee
integration: Start{RealMasterOrDie->TestServer} in admissionwebhook tests
2019-05-14 10:10:55 +02:00
Kevin Wiesmüller
fe3c9c8b6f
add test to make sure managedFields can be reset
2019-05-13 18:34:11 +02:00
Kubernetes Prow Robot
274876ef9a
Merge pull request #77448 from smarterclayton/api_serve
...
Support meta.k8s.io/v1 Table and PartialObjectMetadata requests to the API
2019-05-10 21:30:37 -07:00
Clayton Coleman
33a3e325f7
API server should offer metav1 Table/Partial transforms
...
Now that internal types are equivalent, allow the apiserver to serve
metav1 and metav1beta1 depending on the client. Test that in the
apiserver integration test and ensure we get the appropriate responses.
Register the metav1 type in the appropriate external locations.
2019-05-10 15:29:07 -04:00
Joe Betz
b0aab03209
Fix admission webhook integration tests to filter out controller requests
2019-05-09 17:34:33 -07:00
Kubernetes Prow Robot
09c4e10333
Merge pull request #74021 from andrewsykim/move-features-component-base
...
Move feature gate package from k8s.io/apiserver to k8s.io/component-base
2019-05-08 13:06:34 -07:00
Daniel (Shijun) Qian
5268f69405
fix duplicated imports of k8s code ( #77484 )
...
* fix duplicated imports of api/core/v1
* fix duplicated imports of client-go/kubernetes
* fix duplicated imports of rest code
* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
Kubernetes Prow Robot
63ee026980
Merge pull request #77143 from guineveresaenger/lintflake
...
Addresses linter complaint in broken_webhook test file
2019-04-26 17:14:45 -07:00
guineveresaenger
9ecf58c42e
Fixes flaky linter complaint in broken_webhook test file
2019-04-26 13:57:55 -07:00
Julian V. Modesto
5303f431cb
Add tests for cross group-version SSA.
...
- Use apps/v1 APIs in integration tests.
As in https://github.com/kubernetes/kubernetes/pull/75302
- Add test for cross group-version server side apply.
https://github.com/kubernetes/kubernetes/pull/75157
- Add test for version conversion in the field manager.
https://github.com/kubernetes/kubernetes/pull/75151
Follow up to https://github.com/kubernetes/kubernetes/pull/75302 .
Addresses https://github.com/kubernetes/kubernetes/issues/73723 .
2019-04-25 22:01:28 -04:00
Antoine Pelisse
83c734363e
Add apelisse as approvers for apiserver integration tests
2019-04-25 11:02:58 -07:00
Kubernetes Prow Robot
dc05e1e412
Merge pull request #76824 from wojtek-t/cleanup_protobuf_contenttype
...
Cleanup content-type protobuf constants
2019-04-24 12:25:02 -07:00
wojtekt
b48cc43eff
Cleanup content-type protobuf constants
2019-04-24 17:11:24 +02:00
Kubernetes Prow Robot
d1e7bb297c
Merge pull request #60771 from jennybuckley/kube-up-broken-webhook
...
Use semantic equality in client ca post start hook
2019-04-24 01:24:01 -07:00
Serguei Bezverkhi
6fe28ee957
Adding non persistent review test
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com >
2019-04-23 18:02:40 -04:00
Serguei Bezverkhi
cc7700ae31
no admission logic
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com >
2019-04-23 16:27:55 -04:00
jennybuckley
d10ee7c874
Add integration test for restarting kube-apiserver with a broken webhook
2019-04-23 12:49:28 -07:00
Jordan Liggitt
a4576ec5a6
Fix binding and eviction admission
2019-04-23 10:31:34 -04:00
Jordan Liggitt
4cfa5c7192
Test webhook admission - proxy subresources
2019-04-23 10:31:34 -04:00
Jordan Liggitt
cc72248203
Test webhook admission - pod connect subresources
2019-04-23 10:31:34 -04:00
Jordan Liggitt
69042da958
Add integration tests covering admission webhooks
2019-04-20 03:33:36 -04:00
Bobby (Babak) Salamat
16a7cbd320
generated files
2019-04-05 14:30:52 -07:00
Bobby (Babak) Salamat
8574e3e3f4
Use Scheduling V1 API instead of Scheduling v1beta1
2019-04-05 14:21:45 -07:00
Joe Betz
e5a4f09ab3
Add resourceVersion=0 paginated list integration test for disabled and enabled watch cache
2019-04-02 13:06:15 -07:00
Kubernetes Prow Robot
743fddd174
Merge pull request #75605 from smarterclayton/check_crd_proto
...
Check CRD protobuf negotiation in integration tests
2019-03-26 21:58:47 -07:00
Kubernetes Prow Robot
290cf142e1
Merge pull request #75302 from liggitt/apps-v1-test
...
Use apps/v1 APIs in integration tests
2019-03-22 14:09:49 -07:00
Clayton Coleman
6825daa91a
Check CRD protobuf negotiation in integration tests
...
Add a few more tests to verify CRDs don't regress as client changes
are made.
2019-03-22 13:14:46 -04:00
Kubernetes Prow Robot
6f9bf5fe98
Merge pull request #71548 from smarterclayton/watch_converted
...
Support Table and PartialObjectMetadata on watch
2019-03-19 22:42:22 -07:00
Jordan Liggitt
0aaf1ca4ff
Use apps/v1 APIs in integration tests
2019-03-12 13:17:18 -07:00
jennybuckley
10259c959e
Fix int/float apply bug
2019-03-11 23:07:21 -07:00
jennybuckley
2fdc7e1f35
add test to verify fix
2019-03-08 22:35:33 -08:00
Antoine Pelisse
eb904d8fa8
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
...
And add a corresponding flag in kubectl (for apply), even though the
value is defaulted in kubectl with "kubectl".
The flag is required for Apply patch-type, and optional for other PATCH,
CREATE and UPDATE (in which case we fallback on the user-agent).
2019-03-08 16:03:03 -08:00
Clayton Coleman
3230a0b4fd
Support Table and PartialObjectMetadata on watch
...
Clean up the code paths that lead to objects being transformed and output with negotiation.
Remove some duplicate code that was not consistent. Now, watch will respond correctly to
Table and PartialObjectMetadata requests. Add unit and integration tests.
When transforming responses to Tables, only the first watch event for a given type will
include the columns. Columns will not change unless the watch is restarted.
Add a volume attachment printer and tighten up table validation error cases.
Disable protobuf from table conversion because Tables don't have protobuf because they
use `interface{}`
2019-03-08 13:03:59 -05:00
Tim Allclair
820a1dc96b
Add node.k8s.io/v1beta1 API
2019-03-07 11:57:12 -08:00
Xing Yang
bb45b8ee34
Make CSINodeInfo and CSIDriver Core APIs
...
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
Kubernetes Prow Robot
1b8c8f1daf
Merge pull request #73831 from jennybuckley/apply-create-service
...
Honor forceAllowCreate in service registry
2019-02-14 13:59:44 -08:00
Kubernetes Prow Robot
d8f0146138
Merge pull request #72214 from caesarxuchao/move-discovery
...
Move cached discovery clients to their own packages
2019-02-13 23:07:00 -08:00
Chao Xu
5e6fc5dce8
Limit the number of operations in a single json patch to be 10,000
2019-02-13 10:53:32 -08:00
Kubernetes Prow Robot
29403174fb
Merge pull request #73805 from caesarxuchao/resource-size-limit
...
Adding a limit on the size of request body the apiserver will decode for write operations
2019-02-12 15:10:57 -08:00
Chao Xu
1f2e2e61cf
generated
2019-02-12 15:04:57 -08:00
Chao Xu
3f21ca029a
changing imports
2019-02-12 10:06:04 -08:00
Kevin Wiesmüller
9082cac482
strip selected fields from managedFields
...
refactor fieldstrip and update tests
add checks and remove empty fields
shorten test and check for nil manager
fix gofmt
panic on nil manager
2019-02-11 23:10:57 +01:00
Jennifer Buckley
1a5e48e29d
Honor forceAllowCreate in service registry
2019-02-11 11:05:30 -08:00
Chao Xu
e90409d735
add integration test
2019-02-08 16:15:43 -08:00
Antoine Pelisse
b55417f429
Plugin FieldManager in CRD handler, change to API
2019-02-04 13:51:49 -08:00
Antoine Pelisse
0e1d50e70f
API Machinery, Kubectl and tests
2019-02-04 13:51:48 -08:00