Patrick Ohly
a2972eba07
CSIStorageCapacity: add MaximumVolumeSize to v1beta1 API
2021-03-08 20:52:50 +01:00
Patrick Ohly
a94c141060
CSIStorageCapacity: promote API to beta
...
The v1alpha1 API is left in place for now to ease the migration.
2021-03-08 20:52:50 +01:00
Patrick Ohly
504f105a9e
CSIStorageCapacity: prepare tests for enabling the feature by default
...
Defaults and validation are such that the field has to be set when
the feature is enabled, just as for the other boolean fields. This
was missing in some tests, which was okay as long as they ran
with the feature disabled. Once it gets enabled, validation will
flag the missing field as error.
Other tests didn't run at all.
2021-03-08 20:52:50 +01:00
David Eads
2a0ef026b6
deepcopy statefulsets
2021-03-08 10:03:26 -05:00
David Eads
eb264c05c5
full deepcopy on munged pod spec
2021-03-08 10:02:56 -05:00
David Eads
5130ea0da3
remove pod toleration toleration seconds mutation
2021-03-08 10:02:51 -05:00
David Eads
5570a81040
add markers for inspected validation mutation hits
2021-03-08 10:02:46 -05:00
David Eads
bd5b1e2d05
move secret mutation from validation to prepareforupdate
2021-03-08 10:02:41 -05:00
David Eads
555eba5651
remove unnecessary mutations in validation
...
These mutations are already done in the strategy
2021-03-08 10:02:29 -05:00
David Eads
d000f2c8c5
tweak validation to avoid mutation
2021-03-08 09:58:34 -05:00
Daniela Lins
853d2a6a0a
Delete not used tweak
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com >
2021-03-08 15:03:12 +01:00
Fangyuan Li
7ed2f1d94d
Implements Service Internal Traffic Policy
...
1. Add API definitions;
2. Add feature gate and drops the field when feature gate is not on;
3. Set default values for the field;
4. Add API Validation
5. add kube-proxy iptables and ipvs implementations
6. add tests
2021-03-07 16:52:59 -08:00
Daniela Lins
36e040f86e
Fix empty setter logic
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com >
2021-03-07 13:13:09 +01:00
Patrick Ohly
fb4b380fe2
PSP: validation errors for generic volume type
...
It's not enough to silently drop the volume type if the feature is
disabled. Instead, the policy should fail validation, just as it would
have if the API server didn't know about the feature at all.
2021-03-07 10:58:45 +01:00
Patrick Ohly
38384d5c13
PSP: conditional support for generic volume type
...
When introducing the new "generic" volume type for generic ephemeral
inline volumes, the storage policy for PodSecurityPolicy objects
should have been extended so that this new type is valid only
if the generic ephemeral volume feature is enabled or an
existing object already has it.
Adding the new type to the internal API was also missed.
2021-03-07 10:56:48 +01:00
Kubernetes Prow Robot
36244f31ef
Merge pull request #99662 from swetharepakula/eps-ga-api-changes
...
Graduate EndpointSlice API to GA
2021-03-06 15:23:54 -08:00
Harry Bagdi
a7fc92089a
Add namespace scoped ParametersReference to IngressClass
2021-03-07 00:45:32 +05:30
Daniela Lins
0444bdc944
Remove success case comments
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com >
2021-03-06 19:18:19 +01:00
Daniela Lins
f8e7d30e46
Make tweaks only reset slices if empty
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com >
2021-03-06 18:58:33 +01:00
Daniela Lins
6d330d9738
Refactored setIngressPorts and setEgressPorts
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com >
2021-03-06 16:51:35 +01:00
Kubernetes Prow Robot
4e95e1df04
Merge pull request #98515 from lala123912/huge_page
...
Add request value verification for hugepage
2021-03-05 22:11:43 -08:00
Swetha Repakula
a9891b4b9b
Graduate EndpointSlice API to GA
...
* Removes discovery v1alpha1 API
* Replaces per Endpoint Topology with a read only DeprecatedTopology
in GA API
* Adds per Endpoint Zone field in GA API
2021-03-05 12:02:41 -08:00
Kubernetes Prow Robot
b2af8aefba
Merge pull request #97216 from joejulian/docs_missing_quotes
...
Re-clarify NetworkPolicy policyTypes in docs
2021-03-05 11:21:42 -08:00
Joe Julian
e7945befbc
Re-clarify NetworkPolicy policyTypes in docs
2021-03-05 09:07:12 -08:00
Maciej Szulik
1fc8fe0f7d
Generated changes
2021-03-05 14:03:05 +01:00
Maciej Szulik
9364d0fc81
Promote CronJobs to batch/v1
2021-03-05 12:44:23 +01:00
Maciej Szulik
22b3a9cd21
Introduce .status.lastSuccessfulTime field for CronJob
2021-03-05 12:44:23 +01:00
lala123912
e162fcc1bf
Add request value verification for hugepage
2021-03-05 17:36:22 +08:00
Kubernetes Prow Robot
66cbf0196b
Merge pull request #98277 from XudongLiuHarold/add-loadbalancerclass-field
...
Add LoadBalancerClass field in service
2021-03-04 23:56:21 -08:00
Morten Torkildsen
b08eb95168
generated
2021-03-04 19:03:00 -08:00
Morten Torkildsen
1e2a7f381f
Add conditions to PDB status
2021-03-04 18:52:02 -08:00
Xudong Liu
72da0b1bb0
Add LoadBalancerClass field in service
...
KEP-1959: https://github.com/kubernetes/enhancements/tree/master/keps/sig-cloud-provider/1959-service-lb-class-field
2021-03-04 17:11:50 -08:00
Rob Scott
8bd6b5d15c
Increasing maximum number of ports allowed in EndpointSlice
2021-03-04 10:04:04 -08:00
Abdullah Gharaibeh
3c5f018f8e
Add CrossNamespacePodAffinity quota scope and PodAffinityTerm.NamespaceSelector APIs, and CrossNamespacePodAffinity quota scope implementation.
2021-03-03 22:52:43 -05:00
Kubernetes Prow Robot
4013bd17c3
Merge pull request #99555 from thockin/dualstack-bugs-from-rest-overhaul
...
Two small bugs in dual-stack init
2021-03-03 14:41:29 -08:00
Kubernetes Prow Robot
4da27a93b3
Merge pull request #99444 from mengjiao-liu/update-signerName-field-description
...
Clarify external CSR signerName field description
2021-03-03 14:41:13 -08:00
Kubernetes Prow Robot
aeff7ae701
Merge pull request #99414 from Jiawei0227/type
...
Update inline volume spec comments
2021-03-03 14:41:05 -08:00
Kubernetes Prow Robot
7b0ad65d4d
Merge pull request #99288 from supriya-premkumar/ineffassign
...
Adds ineffassign to GO linter script.
2021-03-03 14:40:46 -08:00
Tim Hockin
84856c7cae
Remove defaults for ipFamilyPolicy and ipFamilies
...
These same values are set in the REST stack and it's easier to maintain
that code all in one place.
defaults.go is best for static values.
2021-03-03 09:42:02 -08:00
Supriya Premkumar
e52e5e486c
Adds ineffassign to GO linter script.
...
Changes:
- Enables ineffassign check in the verify scripts.
- Fixes lint errs.
2021-03-03 08:28:10 -08:00
Aldo Culquicondor
a1a5868a5a
Add Job.spec.completionMode and Job.status.completedIndexes
...
And IndexedJob feature gate, disabled by default.
Update JobDescriber
2021-03-03 15:10:18 +00:00
Jordan Liggitt
4515889574
Prefer v1 storage versions
2021-03-02 12:06:13 -05:00
Kubernetes Prow Robot
e4bf1eb98e
Merge pull request #97139 from filintod/master
...
Update networking ingress types for Ingress Backend Service Port name
2021-03-01 21:09:23 -08:00
Abdullah Gharaibeh
d7e80ab038
Implement pod deletion cost
2021-03-01 13:45:58 -05:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
mengjiao.liu
cb4139cdde
update SingnerName field doc
2021-02-28 18:21:29 +08:00
Kubernetes Prow Robot
c200a8f9b7
Merge pull request #98433 from damemi/remove-helper-from-volume-zone
...
Move GetPersistentVolumeClaimClass to component-helpers
2021-02-26 12:38:15 -08:00
mengjiao.liu
3a09f7e5e4
Clarify external CSR signerName description
2021-02-25 16:34:37 +08:00
Jiawei Wang
819a3be084
Update inline volume spec comments
2021-02-24 21:23:36 -08:00
Daniela Lins
611f061c45
Change error msg and comments to easily find test
...
Signed-off-by: Daniela Lins <danielamlins@gmail.com >
2021-02-24 13:09:13 +01:00