Skip to content

Commit 48fe7ef

Browse files
committed
test: bump k3s kubernetes to v1.31.2-k3s1
1 parent 12ca865 commit 48fe7ef

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

helm-java/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
<artifactId>assertj-core</artifactId>
3535
<scope>test</scope>
3636
</dependency>
37+
<dependency>
38+
<groupId>org.slf4j</groupId>
39+
<artifactId>slf4j-simple</artifactId>
40+
</dependency>
3741
<dependency>
3842
<groupId>org.testcontainers</groupId>
3943
<artifactId>k3s</artifactId>

helm-java/src/test/java/com/marcnuri/helm/HelmKubernetesTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class HelmKubernetesTest {
4949

5050
@BeforeAll
5151
static void setUpKubernetes(@TempDir Path tempDir) throws IOException {
52-
k3sContainer = new K3sContainer(DockerImageName.parse("rancher/k3s:v1.29.0-k3s1"));
52+
k3sContainer = new K3sContainer(DockerImageName.parse("rancher/k3s:v1.31.2-k3s1"));
5353
k3sContainer.start();
5454
kubeConfig = tempDir.resolve("config.yaml");
5555
Files.write(kubeConfig, k3sContainer.getKubeConfigYaml().getBytes(StandardCharsets.UTF_8), StandardOpenOption.CREATE);

pom.xml

+7
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
<!-- https://issues.apache.org/jira/browse/MSOURCES-143?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&focusedCommentId=17755616#comment-17755616 -->
7070
<version.maven-source-plugin>3.3.1</version.maven-source-plugin>
7171
<version.maven-surefire-plugin>3.5.2</version.maven-surefire-plugin>
72+
<version.slf4j>2.0.16</version.slf4j>
7273
<version.sonatype-staging>1.7.0</version.sonatype-staging>
7374
<version.test-containers>1.20.3</version.test-containers>
7475
</properties>
@@ -145,6 +146,12 @@
145146
<version>${version.assertj}</version>
146147
<scope>test</scope>
147148
</dependency>
149+
<dependency>
150+
<groupId>org.slf4j</groupId>
151+
<artifactId>slf4j-simple</artifactId>
152+
<version>${version.slf4j}</version>
153+
<scope>test</scope>
154+
</dependency>
148155
<dependency>
149156
<groupId>org.testcontainers</groupId>
150157
<artifactId>k3s</artifactId>

0 commit comments

Comments
 (0)