Eric Ernst
33713087f4
pod-overhead: drop from PodSpec based on feature-gate
...
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
Kubernetes Prow Robot
fc33ddc285
Merge pull request #78997 from j-griffith/fix_nil_pointer
...
Fix nil pointer
2019-06-15 08:52:12 -07:00
j-griffith
6ed4c9f674
Fix nil pointer
...
add back lost test
Fix nil pointer
2019-06-14 06:30:18 -06:00
Jordan Liggitt
899d00a529
Fix incorrect procMount defaulting
2019-06-10 22:01:54 -04:00
Nikhita Raghunath
e0c1fa120f
Add benchmarks for yaml marshaling and unmarshaling
2019-06-04 17:55:07 +05:30
Jordan Liggitt
8f26874577
Set GVK when decoding protobuf
2019-06-02 00:13:22 -04:00
Kubernetes Prow Robot
b7fa33ec15
Merge pull request #77703 from ddebroy/inline-mig-1
...
API changes to support migration of inline in-tree volumes to CSI
2019-05-31 12:23:19 -07:00
j-griffith
60d991e59a
add comments to validation testcases, and use const in util.go
2019-05-31 06:07:53 -06:00
j-griffith
54154f8ebb
rework pvc datasource filter tests
2019-05-31 06:07:53 -06:00
j-griffith
ae4c2a1858
Enable PVC as DataSource for PVC creation
...
This enables the ability to specify and existing PVC as a DataSource in
a new PVC Spec (eg "clone" and existing volume).
2019-05-31 06:07:53 -06:00
j-griffith
a66bb3c63d
Update unit tests and feature name
...
Update the unit tests to include checks for incorrect APIGroup type in
PVC DataSource and change the name of the feature gate to be more clear:
s/VolumeDataSource/VolumePVCDataSource/
2019-05-31 06:07:44 -06:00
j-griffith
123f1bac35
Enable PVC as DataSource for PVC creation
...
This enables the ability to specify and existing PVC as a DataSource in
a new PVC Spec (eg "clone" and existing volume).
2019-05-31 06:06:44 -06:00
wangqingcan
52f3380ef3
change preempting to PreemptionPolicy
2019-05-31 12:42:05 +08:00
wangqingcan
5c9438c691
non-preempting-priorityclass
...
Co-authored-by: Vallery Lancey <vallery@zeitgeistlabs.io>
Co-authored-by: Tan shanshan <tan.shanshan@zte.com.cn>
2019-05-31 12:37:07 +08:00
Deep Debroy
c34309acdf
API changes to support CSI migration of inline volumes
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:34:47 +00:00
Jean Rouge
a3e914528a
API changes for Windows GMSA support
...
This patch comprises the API changes outlined in the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
It includes validation, as well as dropping fields if the `WindowsGMSA` feature
flag is not set, both with unit tests.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 15:32:59 -07:00
yuchengwu
6bcb7d5130
Fix initContainer failed to get its own field value as env values
2019-05-15 13:45:50 +08:00
Kubernetes Prow Robot
74c0c21f80
Merge pull request #77670 from bjhaid/cleanup_pkg_api
...
Clean up pkg/api.
2019-05-10 21:31:02 -07:00
Hemant Kumar
69393291b6
Add a new field for storing volume expansion secrets
...
Fix pv secret visitor tests
Allow SecretRef for resizing to be set if not already set
2019-05-09 13:53:47 -04:00
Àbéjídé Àyodélé
04be2c4162
Clean up pkg/api.
...
These are based on recommendation from
[staticcheck](http://staticcheck.io/ ).
2019-05-09 15:23:41 +00: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
Tim Allclair
c666bd0012
Drop RuntimeClass from PSP when feature is disabled
2019-05-01 13:43:41 -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
aaa
9536561e59
Using var() block to define variables
2019-04-20 15:12:48 -04:00
Davanum Srinivas
7b8c9acc09
remove unused code
...
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -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
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
Vladimir Vivien
4ec7d2305d
CSI Inline Volume - API changes
2019-03-08 12:35:07 -05:00
Kubernetes Prow Robot
1fc2396e2e
Merge pull request #74434 from freehan/pod-ready-ga
...
promote PodReadinessGate feature to GA
2019-03-07 21:19:43 -08:00
Tim Allclair
63f61a6714
Migrate RuntimeClass to internal API
2019-03-07 11:07:54 -08:00
Michelle Au
08330c37ca
lock csi and plugin watcher GA feature gates
2019-03-05 09:59:05 -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
Michelle Au
5f0847b515
move local PV to GA
2019-03-01 12:51:25 -08:00
Daniel (Shijun) Qian
d648ba856b
Move pkg/api/v1/node to pkg/util/node ( #73656 )
...
* merge pkg/api/v1/node with pkg/util/node
* update test case for utilnode
* remove package pkg/api/v1/node
* move isNodeReady to internal func
* Split GetNodeCondition into e2e and controller pkg
* fix import errors
2019-02-26 11:05:32 -08:00
Minhan Xia
562bc03cf6
promote PodReadinessGate feature to GA
2019-02-25 16:28:29 -08:00
Kubernetes Prow Robot
5bfea15e7b
Merge pull request #71351 from HotelsDotCom/kep/VolumeSubpathEnvExpansion
...
kep/VolumeSubpathEnvExpansion
2019-02-20 14:05:20 -08:00
Kevin Taylor
a64b854137
Implementation of KEP Feature Gate VolumeSubpathEnvExpansion
2019-02-20 01:37:16 +00:00
Kubernetes Prow Robot
1878fae050
Merge pull request #73973 from smarterclayton/fix_benchmark
...
Fix the unstructured conversion benchmarks to be correct
2019-02-15 07:52:54 -08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Clayton Coleman
d0daa1082f
Correct benchmarks for unstructured, show json-iter
...
The unstructured benchmarks incorrectly charged setup of objects to the benchmark.
Split each, and add comparison to json iter.
```
BenchmarkToUnstructured-12 30000 49716 ns/op 15358 B/op 221 allocs/op
BenchmarkFromUnstructured-12 30000 53585 ns/op 7773 B/op 185 allocs/op
BenchmarkToUnstructuredViaJSON-12 30000 53716 ns/op 22609 B/op 323 allocs/op
BenchmarkFromUnstructuredViaJSON-12 10000 121007 ns/op 29601 B/op 438 allocs/op
BenchmarkToUnstructuredViaJSONIter/compat-12 30000 57796 ns/op 27685 B/op 431 allocs/op
BenchmarkToUnstructuredViaJSONIter/default-12 30000 51114 ns/op 20377 B/op 415 allocs/op
BenchmarkToUnstructuredViaJSONIter/fastest-12 30000 48521 ns/op 20103 B/op 405 allocs/op
BenchmarkFromUnstructuredViaJSONIter/compat-12 20000 83389 ns/op 48777 B/op 591 allocs/op
BenchmarkFromUnstructuredViaJSONIter/default-12 30000 42717 ns/op 13439 B/op 291 allocs/op
BenchmarkFromUnstructuredViaJSONIter/fastest-12 50000 35102 ns/op 12070 B/op 203 allocs/op
```
2019-02-14 12:45:30 -05:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
...
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
jennybuckley
6b2e4682fe
Minor fixes
2019-02-04 13:51:49 -08:00
Antoine Pelisse
0e1d50e70f
API Machinery, Kubectl and tests
2019-02-04 13:51:48 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Ashish Ranjan
7be223e798
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
...
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-02-04 10:34:53 +05:30
Justin SB
dd19b923b7
Remove executable file permission from OWNERS files
2019-01-11 16:42:59 -08:00
Kubernetes Prow Robot
52d4500f23
Merge pull request #72714 from mourya007/features_gate
...
Move TokenRequestProjection feature gate out of validation
2019-01-11 15:53:51 -08:00
mourya007
d0b35d1b05
Move TokenRequestProjection feature gate out of validation
2019-01-11 00:49:30 +05:30
Rajath Agasthya
5de2d7694d
Remove Sysctls feature gate from validation
2019-01-09 18:56:11 -08:00
Kubernetes Prow Robot
49891cc270
Merge pull request #72698 from rajathagasthya/podsharepsnamespace-72651
...
Move PodShareProcessNamespace feature gate out of validation
2019-01-09 07:40:00 -08:00
Rajath Agasthya
86165ac878
Move pod ReadinessGates feature gate out of validation
2019-01-08 21:37:43 -08:00
Kubernetes Prow Robot
45b54f5c44
Merge pull request #72686 from sbezverk/PersistentLocalVolumes
...
Moving PersistentLocalVolumes feature gate check from validation
2019-01-08 19:22:40 -08:00
Kubernetes Prow Robot
3035edcc36
Merge pull request #72666 from rajathagasthya/pvc-72651
...
Move VolumeSnapshotDataSource feature gate check from validation
2019-01-08 19:22:30 -08:00
Rajath Agasthya
4e1d4caa8f
Move PodShareProcessNamespace feature gate out of validation
2019-01-08 14:31:51 -08:00
Serguei Bezverkhi
8915e90398
PersistentLocalVolumes validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-01-08 11:00:29 -05:00
Kubernetes Prow Robot
8728ecc27d
Merge pull request #72664 from sbezverk/ResourceQuotaScopeSelectors
...
Move ResourceQuotaSelector out of validation
2019-01-08 02:02:59 -08:00
Serguei Bezverkhi
d79475c801
add ResourceQuotaSelector validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-01-07 23:15:39 -05:00
Rajath Agasthya
88abcb7419
Move VolumeSnapshotDataSource feature gate check from validation
2019-01-07 20:02:01 -08:00
Jordan Liggitt
cd4f626f66
Move AppArmor feature-gate checking out of validation
2019-01-07 15:10:11 -05:00
Jordan Liggitt
12dd768bee
Pass pod annotations into DropDisabledFields()
2019-01-07 14:44:20 -05:00
Zheng Dayu
020e54cce7
add unit test for RunAsGroup in both pod and podsecuritypolicy
2018-12-31 01:10:06 +08:00
Zheng Dayu
d4c85e977f
Validation on RunAsGroup - Update DropDisabled[Alpha]Fields behaviour
2018-12-30 23:09:29 +08:00
Mason Kwok
3453da220e
AllowedProcMountTypes - Update DropDisabled[Alpha]Fields behaviour
2018-12-28 15:30:10 +08:00
Serguei Bezverkhi
5bf84db713
VolumeDevices validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-27 17:31:10 -05:00
Serguei Bezverkhi
4ad98db3c0
EmptyVolume SizeLimit validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-27 13:07:26 -05:00
Kubernetes Prow Robot
d61286987d
Merge pull request #72251 from sbezverk/VolumeMode
...
VolumeMode - Update DropDisabled[Alpha]Fields behaviour
2018-12-26 16:20:36 -08:00
Serguei Bezverkhi
a5d5a174af
VolumeMode Validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-26 14:28:53 -05:00
Serguei Bezverkhi
587c5d7263
PodPriority validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-22 08:54:40 -05:00
Serguei Bezverkhi
1778d64a59
ProcMount validation and testing
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-20 14:43:52 -05:00
Serguei Bezverkhi
27a8967555
RuntimeClass validation and tests
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-19 15:01:28 -05:00
Jordan Liggitt
901ddba812
Pass new and old object to DropDisabledFields
2018-12-18 17:50:22 -05:00
Jordan Liggitt
88284f637b
Rename DropDisabledAlphaFields to DropDisabledFields
2018-12-18 17:45:37 -05:00
Jordan Liggitt
de96583d8c
drop subpath from pod spec when the feature is disabled and the old spec did not use subpaths
2018-12-18 10:21:22 -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
k8s-ci-robot
d8b9d9b381
Merge pull request #71370 from WanLinghao/serialization_test_fix
...
fix unit test failure in ./pkg/api/testing/serialization_test.go
2018-11-30 00:04:36 -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
2498ca7606
drop VerifyFeatureGatesUnchanged
2018-11-21 11:51:33 -05:00
Jordan Liggitt
4dca07ef7e
Fixup incorrect use of DefaultFeatureGate.Set in tests
2018-11-21 11:51:33 -05:00
Jordan Liggitt
248d661327
Add tests to ensure storage feature gate changes don't escape packages
2018-11-16 10:52:53 -05:00
Michelle Au
fd64c08240
Fix storage feature gate test setting
2018-11-16 10:49:40 -05:00
k8s-ci-robot
e615df9d23
Merge pull request #70950 from yue9944882/chore/prune-cli-describer-internal
...
Use versioned types in kubectl describer
2018-11-15 15:00:12 -08:00
zuoxiu.jm
da9387131e
prune internal clients from kubectl describer
2018-11-16 00:11:10 +08:00
Jordan Liggitt
eaff4fd4d2
Tolerate existing CSI fields in PVs when the feature is disabled
2018-11-14 17:57:54 -05:00
Fabio Bertinatto
6c9b854542
Remove mount propagation feature gate logic
2018-10-31 15:51:37 +01:00
Jordan Liggitt
572dfe6cb7
generated files
2018-10-25 21:12:57 -04:00
Jordan Liggitt
dda0a68521
Change registration and custom conversion from extensions to apps
2018-10-25 21:12:57 -04:00
Brad Hoekstra
409a48ef91
Set the default for EnableServiceLinks only in Pod
2018-10-18 13:44:21 -04:00
Patrick Barker
b8e1250487
adds dynamic audit api generated
2018-10-16 13:07:27 +00:00
Patrick Barker
381d0a5d14
adds dynamic audit api
2018-10-16 06:46:34 -06:00
k8s-ci-robot
2a2c71a6f8
Merge pull request #69772 from cblecker/api-block-inheritance
...
Disable OWNERS inheritance on key api change directories
2018-10-13 13:19:28 -07:00
Christoph Blecker
617603db18
Disable OWNERS inheritance on key api change directories
2018-10-13 09:44:55 -07:00
k8s-ci-robot
53e85280f4
Merge pull request #69714 from ericchiang/owners
...
Remove ericchiang from OWNERS files
2018-10-12 16:01:52 -07:00
k8s-ci-robot
3348f9ae23
Merge pull request #69627 from dims/updating-ghodss-yaml-to-latest-version-2
...
Updating ghodss/yaml and gopkg.in/yaml.v2 to latest version 2
2018-10-12 14:48:26 -07:00
Eric Chiang
766f5875bf
Remove ericchiang from OWNERS files
...
Kept myself in the OpenID Connect ones for now.
2018-10-11 18:11:15 -07:00
Davanum Srinivas
6b8f238205
Add test to ensure backward compatability for timestamps
...
Change-Id: I63650c77e3d0ece06eb29efa5b8898b77db677fb
2018-10-11 10:13:04 -04:00
Mayank Kumar
bc3e3afc46
api changes for psp runasgroup policy
2018-10-09 17:32:09 -07:00