kubernetes/pkg/apis/core/validation
Andrew Sy Kim 28f3f36505
Promote the ServiceInternalTrafficPolicy field to Beta and on by default (#103462)
* pkg/features: promote the ServiceInternalTrafficPolicy field to Beta and on by default

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/api/service/testing: update Service test fixture functions to set internalTrafficPolicy=Cluster by default

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/apis/core/validation: add more Service validation tests for internalTrafficPolicy

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/registry/core/service/storage: fix failing Service REST storage tests to use internalTrafficPolicy: Cluster

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/registry/core/service/storage: add two test cases for Service REST TestServiceRegistryInternalTrafficPolicyClusterThenLocal and TestServiceRegistryInternalTrafficPolicyLocalThenCluster

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/registry/core/service: update strategy unit tests to expect default
internalTrafficPolicy=Cluster

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/proxy/ipvs: fix unit test Test_EndpointSliceReadyAndTerminatingLocal to use internalTrafficPolicy=Cluster

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/apis/core: update fuzzers to set Service internalTrafficPolicy field

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/api/service/testing: refactor Service test fixtures to use Tweak funcs

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-06 06:16:30 -07:00
..
conditional_validation_test.go Mixed protocol support for Services with type=LoadBalancer (#94028) 2020-11-13 13:21:04 -08:00
conditional_validation.go Mixed protocol support for Services with type=LoadBalancer (#94028) 2020-11-13 13:21:04 -08:00
doc.go
events_test.go Promote new Event API to v1 2020-07-01 10:50:28 -04:00
events.go code cleanup for pkg/api and pkg/apis 2021-04-28 08:57:23 +08:00
OWNERS Prune stale entries from OWNERS files 2021-04-13 20:54:50 -04:00
validation_test.go Promote the ServiceInternalTrafficPolicy field to Beta and on by default (#103462) 2021-07-06 06:16:30 -07:00
validation.go Validate use of the ReadWriteOncePod access mode 2021-06-28 21:25:37 -07:00