fix: fix cve for telemetry and kubesphere (#6352)
fix: cve Signed-off-by: joyceliu <joyceliu@yunify.com> Co-authored-by: joyceliu <joyceliu@yunify.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Build
|
||||
FROM golang:1.22.8 AS build_context
|
||||
FROM golang:1.22.11 AS build_context
|
||||
|
||||
ENV OUTDIR=/out
|
||||
RUN mkdir -p ${OUTDIR}/usr/local/bin/
|
||||
|
||||
@@ -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
|
||||
@@ -15,7 +15,7 @@ RUN curl -LO https://github.com/kubesphere/telemetry/releases/download/v${TELEME
|
||||
COPY config/ks-core ${OUTDIR}/var/helm-charts/ks-core
|
||||
|
||||
# Build
|
||||
FROM golang:1.22.8 AS build_context
|
||||
FROM golang:1.22.11 AS build_context
|
||||
|
||||
ENV OUTDIR=/out
|
||||
RUN mkdir -p ${OUTDIR}/usr/local/bin/
|
||||
|
||||
4
go.mod
4
go.mod
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
6
vendor/modules.txt
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user