diff --git a/cluster/images/Dockerfile b/cluster/images/Dockerfile index 25ddd4f302a6..fe010027bbc2 100644 --- a/cluster/images/Dockerfile +++ b/cluster/images/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM alpine:3.18.5 +FROM alpine:3.19.1 ARG BINARY diff --git a/cluster/images/buildx.Dockerfile b/cluster/images/buildx.Dockerfile index d5b448d9830f..5f56a49569be 100644 --- a/cluster/images/buildx.Dockerfile +++ b/cluster/images/buildx.Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM alpine:3.18.5 +FROM alpine:3.19.1 ARG BINARY ARG TARGETPLATFORM diff --git a/pkg/karmadactl/cmdinit/kubernetes/deploy.go b/pkg/karmadactl/cmdinit/kubernetes/deploy.go index 8a0b3da1a988..ce808552dc3c 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/deploy.go +++ b/pkg/karmadactl/cmdinit/kubernetes/deploy.go @@ -114,7 +114,7 @@ func init() { karmadaRelease = releaseVer.ReleaseVersion() DefaultCrdURL = fmt.Sprintf("https://github.com/karmada-io/karmada/releases/download/%s/crds.tar.gz", releaseVer.ReleaseVersion()) - DefaultInitImage = "docker.io/alpine:3.18.5" + DefaultInitImage = "docker.io/alpine:3.19.1" DefaultKarmadaSchedulerImage = fmt.Sprintf("docker.io/karmada/karmada-scheduler:%s", releaseVer.ReleaseVersion()) DefaultKarmadaControllerManagerImage = fmt.Sprintf("docker.io/karmada/karmada-controller-manager:%s", releaseVer.ReleaseVersion()) DefualtKarmadaWebhookImage = fmt.Sprintf("docker.io/karmada/karmada-webhook:%s", releaseVer.ReleaseVersion()) @@ -665,7 +665,7 @@ func (i *CommandInitOption) kubeControllerManagerImage() string { // get etcd-init image func (i *CommandInitOption) etcdInitImage() string { if i.ImageRegistry != "" && i.EtcdInitImage == DefaultInitImage { - return i.ImageRegistry + "/alpine:3.18.5" + return i.ImageRegistry + "/alpine:3.19.1" } return i.EtcdInitImage } diff --git a/pkg/karmadactl/cmdinit/kubernetes/deploy_test.go b/pkg/karmadactl/cmdinit/kubernetes/deploy_test.go index 4f2720374fe1..a2a72ef12f75 100644 --- a/pkg/karmadactl/cmdinit/kubernetes/deploy_test.go +++ b/pkg/karmadactl/cmdinit/kubernetes/deploy_test.go @@ -379,7 +379,7 @@ func TestEtcdInitImage(t *testing.T) { ImageRegistry: "my-registry", EtcdInitImage: DefaultInitImage, }, - expected: "my-registry/alpine:3.18.5", + expected: "my-registry/alpine:3.19.1", }, { name: "EtcdInitImage is set to a non-default value",