kubernetes/test/integration/apiserver/apply
Tim Hockin a930892769
Gate: disallow .status.loadBalancer on non-LB svc
The fact that the .status.loadBalancer field can be set while .spec.type
is not "LoadBalancer" is a flub.  Any spec update will already clear
.status.ingress, so it's hard to really rely on this.  After this
change, updates which try to set this combination will fail validation.

Existing cases of this will not be broken.  Any spec/metadata update
will clear it (no error) and this is the only stanza of status.

New gate "AllowServiceLBStatusOnNonLB" is off by default, but can be
enabled if this change actually breaks someone, which seems exceeedingly
unlikely.
2023-08-20 16:40:41 -07:00
..
apply_crd_beta_test.go Lock ServerSideApply feature to true 2022-09-27 13:48:28 +02:00
apply_crd_test.go Clean shutdown of apply integration tests 2022-11-07 09:14:15 +01:00
apply_test.go move check for noop managed field timestamp updates 2023-03-22 11:29:33 -07:00
main_test.go
reset_fields_test.go Gate: disallow .status.loadBalancer on non-LB svc 2023-08-20 16:40:41 -07:00
scale_test.go managedfields: Move most of fieldmanager package to managefields 2023-03-08 13:44:00 -08:00
status_test.go test: adjust tests for v1beta1 validatingadmissionpolicy 2023-07-20 13:24:09 -07:00