Skip to content

Commit

Permalink
test: bump k3s kubernetes to v1.31.2-k3s1
Browse files Browse the repository at this point in the history
  • Loading branch information
manusa committed Nov 12, 2024
1 parent 12ca865 commit 48fe7ef
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions helm-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>k3s</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class HelmKubernetesTest {

@BeforeAll
static void setUpKubernetes(@TempDir Path tempDir) throws IOException {
k3sContainer = new K3sContainer(DockerImageName.parse("rancher/k3s:v1.29.0-k3s1"));
k3sContainer = new K3sContainer(DockerImageName.parse("rancher/k3s:v1.31.2-k3s1"));
k3sContainer.start();
kubeConfig = tempDir.resolve("config.yaml");
Files.write(kubeConfig, k3sContainer.getKubeConfigYaml().getBytes(StandardCharsets.UTF_8), StandardOpenOption.CREATE);
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
<!-- https://issues.apache.org/jira/browse/MSOURCES-143?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&focusedCommentId=17755616#comment-17755616 -->
<version.maven-source-plugin>3.3.1</version.maven-source-plugin>
<version.maven-surefire-plugin>3.5.2</version.maven-surefire-plugin>
<version.slf4j>2.0.16</version.slf4j>
<version.sonatype-staging>1.7.0</version.sonatype-staging>
<version.test-containers>1.20.3</version.test-containers>
</properties>
Expand Down Expand Up @@ -145,6 +146,12 @@
<version>${version.assertj}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${version.slf4j}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>k3s</artifactId>
Expand Down

0 comments on commit 48fe7ef

Please sign in to comment.