Antoine Pelisse
0e1d50e70f
API Machinery, Kubectl and tests
2019-02-04 13:51:48 -08:00
WanLinghao
82f8f3e7d3
fix unit test failure in ./pkg/api/testing/serialization_test.go with error like:
...
--- FAIL: TestSetControllerConversion (0.00s)
serialization_test.go:104: rs._internal.apps -> rs.v1.apps
serialization_test.go:107: unexpected encoding error: no kind "ReplicaSet" is registered for version "apps/v1beta1" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:29"
2018-11-28 09:22:45 +08:00
Jordan Liggitt
dda0a68521
Change registration and custom conversion from extensions to apps
2018-10-25 21:12:57 -04:00
Davanum Srinivas
6b8f238205
Add test to ensure backward compatability for timestamps
...
Change-Id: I63650c77e3d0ece06eb29efa5b8898b77db677fb
2018-10-11 10:13:04 -04:00
k8s-ci-robot
11136874bc
Merge pull request #68302 from PrasadG193/fix-golint-pkg-api
...
pkg/api: Fix golint errors
2018-09-25 11:03:43 -07:00
Brad Hoekstra
42da186b62
Address review comments
2018-09-21 20:06:32 -04:00
Brad Hoekstra
ac8799a80d
kubelet: Make service environment variables optional
2018-09-17 16:27:36 -04:00
Prasad Ghangal
3fba36291c
pkg/api: Fix golint errors
2018-09-07 12:31:25 +05:30
Lucas Käldström
e50340ee23
Remove references to 'pkg/apis/componentconfig/install' and fix inconsistencies
2018-08-09 18:45:27 +03:00
David Eads
d3bd0eb1d5
make package name match all the import aliases
2018-08-01 15:31:12 -04:00
Clayton Coleman
ba95744bc5
Make conversion function names match expected values
2018-07-17 23:02:16 -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
Nikhita Raghunath
0623068f6c
Fix k8s json package import name
2018-06-21 22:55:17 +05:30
Chao Xu
7b0ffb8410
make json serializer case sensitive
2018-06-14 12:29:27 -07:00
Dr. Stefan Schimanski
dc5866a781
conversions: don't mutate in.ObjectMeta.Annotations
2018-06-02 09:44:45 +00: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
Kubernetes Submit Queue
135d58b394
Merge pull request #57142 from nikhita/bump-jsoniter
...
Automatic merge from submit-queue (batch tested with PRs 57122, 57142, 57016, 56927, 56678). 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>.
bump(13f864): github.com/json-iterator/go: use ConfigCompatibleWithStandardLibrary
Jsoniter in `ConfigFastest` mode does not support escape characters in object keys, whereas `ConfigCompatibleWithStandardLibrary` does.
Fixes kubernetes/kubernetes#56018
Related kubernetes/kubernetes#56055
Benchmark results:
```
BenchmarkDecodeIntoJSON-4 30000 48522 ns/op 3792 B/op 63 allocs/op
BenchmarkDecodeIntoJSONCodecGenConfigFast-4 100000 17409 ns/op 4524 B/op 96 allocs/op
BenchmarkDecodeIntoJSONCodecGenConfigCompatibleWithStandardLibrary-4 100000 18617 ns/op 4924 B/op 121 allocs/op
```
/assign sttts thockin mfojtik
2017-12-16 23:32:38 -08:00
Nikhita Raghunath
5da7b11a31
add benchmark for ConfigCompatibleWithStandardLibrary
2017-12-13 16:05:20 +05:30
linweibin
96a8ff6bd6
Remove unused code in pkg/api/,pkg/apis/
2017-12-07 13:35:47 +08:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
d13b936a2a
pkg/apis/core: fixup conversion func names in dependencies
2017-11-09 12:14:07 +01:00
Solly Ross
ef583aeed2
Fuzz label selectors
...
Previously, we did not have custom code for fuzzing label selectors.
Anything that used a label selector (like Scale) had to manually bypass
fuzzing the selector, or write its own fuzzer. This introduces a fuzzer
for label selectors which generates random correct selectors with random
keys and values.
2017-10-19 11:01:45 -04:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Dr. Stefan Schimanski
b926ca40de
pkg/api: move *_test.go -> pkg/api/testing
2017-10-11 16:04:50 +02:00