Skip to content

Commit

Permalink
Merge pull request #273 from xenit-eu/ACC-1078
Browse files Browse the repository at this point in the history
[ACC-1078] Clean up unnecessary k3s container startup command
  • Loading branch information
vierbergenlars authored Aug 20, 2024
2 parents ecbe8c2 + bc31fb6 commit a1e66bb
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ public class KubernetesServiceDiscoveryIntegrationTest {
private static final Logger logger = LoggerFactory.getLogger(KubernetesServiceDiscoveryIntegrationTest.class);

@Container
private static final K3sContainer K8S = new K3sContainer(DockerImageName.parse("rancher/k3s:latest"))
// See https://github.com/testcontainers/testcontainers-java/issues/6770
.withCommand("server", "--disable=traefik",
"--tls-san=" + DockerClientFactory.instance().dockerHostIpAddress());
private static final K3sContainer K8S = new K3sContainer(DockerImageName.parse("rancher/k3s:latest"));

@Container
public static final GenericContainer<?> NGINX = new GenericContainer<>(DockerImageName.parse("docker.io/nginx"))
Expand Down

0 comments on commit a1e66bb

Please # to comment.