fix: fix cve for telemetry and kubesphere (#6352)

fix: cve

Signed-off-by: joyceliu <joyceliu@yunify.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
(cherry picked from commit b4069c6b3d)
This commit is contained in:
liujian
2025-02-08 10:12:12 +08:00
committed by hongming
parent 2dbe296a06
commit b34b7ea1fe
6 changed files with 8 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ RUN apk add --no-cache ca-certificates curl
ENV OUTDIR=/out
RUN mkdir -p ${OUTDIR}/usr/local/bin/
ARG TELEMETRY_VERSION=1.0.1
ARG TELEMETRY_VERSION=1.0.2
ARG TARGETARCH
RUN curl -LO https://github.com/kubesphere/telemetry/releases/download/v${TELEMETRY_VERSION}/telemetry_${TELEMETRY_VERSION}_linux_${TARGETARCH}.tar.gz && \
tar -zxvf telemetry_${TELEMETRY_VERSION}_linux_${TARGETARCH}.tar.gz -C ${OUTDIR}/usr/local/bin/ telemetry

4
go.mod
View File

@@ -6,9 +6,7 @@
module kubesphere.io/kubesphere
go 1.22.4
toolchain go1.22.8
go 1.22.11
require (
code.cloudfoundry.org/bytefmt v0.0.0-20190710193110-1eb035ffe2b6

View File

@@ -2,9 +2,7 @@
module kubesphere.io/api
go 1.22.4
toolchain go1.22.8
go 1.22.11
require (
github.com/onsi/gomega v1.34.2

View File

@@ -2,9 +2,7 @@
module kubesphere.io/client-go
go 1.22.4
toolchain go1.22.8
go 1.22.11
require (
github.com/google/go-cmp v0.6.0

View File

@@ -2,9 +2,7 @@
module kubesphere.io/utils
go 1.22.4
toolchain go1.22.8
go 1.22.11
require (
github.com/aws/aws-sdk-go v1.55.5

6
vendor/modules.txt vendored
View File

@@ -2218,7 +2218,7 @@ k8s.io/utils/ptr
k8s.io/utils/strings/slices
k8s.io/utils/trace
# kubesphere.io/api v0.0.0 => ./staging/src/kubesphere.io/api
## explicit; go 1.22.4
## explicit; go 1.22.11
kubesphere.io/api/application/v2
kubesphere.io/api/cluster/v1alpha1
kubesphere.io/api/constants
@@ -2232,11 +2232,11 @@ kubesphere.io/api/tenant/v1alpha1
kubesphere.io/api/tenant/v1alpha2
kubesphere.io/api/tenant/v1beta1
# kubesphere.io/client-go v0.0.0 => ./staging/src/kubesphere.io/client-go
## explicit; go 1.22.4
## explicit; go 1.22.11
kubesphere.io/client-go/kubesphere/scheme
kubesphere.io/client-go/rest
# kubesphere.io/utils v0.0.0 => ./staging/src/kubesphere.io/utils
## explicit; go 1.22.4
## explicit; go 1.22.11
kubesphere.io/utils/helm
kubesphere.io/utils/s3
# oras.land/oras-go v1.2.6 => oras.land/oras-go v1.2.6