From b2a58d325bd2babb8f55adbfa8bcf84949322008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Gustav=20Str=C3=A5b=C3=B8?= Date: Mon, 17 Jun 2024 11:17:28 +0200 Subject: [PATCH] update to latest version of alpine/git image --- charts/radix-operator/Chart.yaml | 4 ++-- pipeline-runner/steps/build_test.go | 2 +- pkg/apis/utils/git/clone.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/radix-operator/Chart.yaml b/charts/radix-operator/Chart.yaml index dd73f9ec2..1db4f4321 100644 --- a/charts/radix-operator/Chart.yaml +++ b/charts/radix-operator/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: radix-operator -version: 1.36.0 -appVersion: 1.56.0 +version: 1.36.1 +appVersion: 1.56.1 kubeVersion: ">=1.24.0" description: Radix Operator keywords: diff --git a/pipeline-runner/steps/build_test.go b/pipeline-runner/steps/build_test.go index f042705be..58346a1cc 100644 --- a/pipeline-runner/steps/build_test.go +++ b/pipeline-runner/steps/build_test.go @@ -194,7 +194,7 @@ func (s *buildTestSuite) Test_BuildDeploy_JobSpecAndDeploymentConsistent() { // Check init containers s.ElementsMatch([]string{"internal-nslookup", "clone", "internal-chmod"}, slice.Map(job.Spec.Template.Spec.InitContainers, func(c corev1.Container) string { return c.Name })) cloneContainer, _ := slice.FindFirst(job.Spec.Template.Spec.InitContainers, func(c corev1.Container) bool { return c.Name == "clone" }) - s.Equal("alpine/git:2.45.1", cloneContainer.Image) + s.Equal("alpine/git:2.45.2", cloneContainer.Image) s.Equal([]string{"git", "clone", "--recurse-submodules", cloneURL, "-b", buildBranch, "--verbose", "--progress", git.Workspace}, cloneContainer.Command) s.Empty(cloneContainer.Args) // s.Equal([]string{fmt.Sprintf("git clone --recurse-submodules %s -b %s --verbose --progress /workspace", cloneURL, buildBranch)}, cloneContainer.Args) diff --git a/pkg/apis/utils/git/clone.go b/pkg/apis/utils/git/clone.go index ab0c0d39e..d3ed0dcda 100644 --- a/pkg/apis/utils/git/clone.go +++ b/pkg/apis/utils/git/clone.go @@ -64,7 +64,7 @@ func CloneInitContainersWithContainerName(sshURL, branch, cloneContainerName str }, { Name: cloneContainerName, - Image: "alpine/git:2.45.1", + Image: "alpine/git:2.45.2", ImagePullPolicy: corev1.PullIfNotPresent, Command: gitCloneCmd, VolumeMounts: []corev1.VolumeMount{