Jakub Przychodzeń
08749750a9
Enable 'running_managed_controllers' for few more controllers
2022-08-02 07:33:32 +00:00
Wojciech Tyczyński
3b98f59e16
Clean shutdown of service integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
deef9e40de
Simplify Create/Delete-TestingNamespace functions
2022-05-15 23:06:26 +02:00
Xudong Liu
c8a6c7f338
promote load balancer class to GA
...
Signed-off-by: Xudong Liu <xudongliuharold@gmail.com>
2022-03-21 16:16:13 -07:00
Tim Hockin
e927ce85b6
service REST: Call Decorator(old) on update path
...
This is causing a bug when upgrading from older releases to 1.23 because
of Service's maybe-too-clever default-on-read logic.
Service depends on `Decorator()` to be called upon read, to
back-populate old saved objects which do not have `.clusterIPs[]` set.
This works on read, but the cache saves the pre-decorated type (as it is
documented)
In 1.23, this code was refactored and it seems some edge-case handling
was inadvertently removed (I have not confirmed exactly what happened).
Test by aojea
2022-01-30 11:25:17 -08:00
Andrew Sy Kim
aead636249
add integration test validating that converting a Service to ExternalName results in the field being dropped on read
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-05 12:41:53 -05:00
Andrew Sy Kim
9c3c3d8a3a
add integration test to validate that ExternalName Services can set internalTrafficPolicy, but the field is dropped on read
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-05 12:41:53 -05:00
Andrew Sy Kim
7aa20122bc
add integration test to check that Service internalTrafficPolicy is no longer defaulting when Type is ExternalName
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-05 12:41:53 -05:00
Lars Ekman
1ef96752da
Mark ServiceLBNodePortControl as GA
2021-12-16 16:48:58 +01:00
Antonio Ojea
2ea3d320b0
integration tests service node port control
...
When a service is created with AllocateLoadBalancerNodePorts to false
it should not allocate node ports.
If the same service is updated to set AllocateLoadBalancerNodePorts
to true, it should allocate node ports.
When a service is updated from ClusterIP type to LoadBalancer type,
and AllocateLoadBalancerNodePorts is set to false, it should not
allocate node ports.
2021-11-18 09:38:30 +01:00
Mike Dame
4960d0976a
Wire contexts to Core controllers
2021-11-01 10:29:00 -04:00
Harold
477aef192f
fix loadbalancerclass integration test funcation name
2021-06-28 20:07:02 -07:00
Xudong Liu
fe161579e2
Add integration test to promote serviceloadbalancerclass feature to beta.
2021-06-24 17:30:17 -07:00
Mengjiao Liu
6871b2b3c7
Rename masterConfig to controlPlaneConfig
2021-06-04 20:55:08 +08:00
Mengjiao Liu
387154f1a9
Part3: master to controlplane in test/integration
...
Rename RunAMaster to RunAControlPlane
2021-06-03 11:06:19 +08:00
Mengjiao Liu
c9ec486287
Part of master to controlplane in test/integration
...
Rename NewIntegrationTestMasterConfig to NewIntegrationTestControlPlaneConfig
2021-05-25 13:26:28 +08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Andrew Sy Kim
a5aba23813
test/integration: add helper function serviceHasNodePorts for service load balancer tests
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-24 10:00:58 -05:00
Andrew Sy Kim
c1285ac83b
test/integration: add integration tests for service.spec.allocateLoadBalancerNodePorts
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-24 10:00:58 -05:00