Skip to content

Commit d45fbcd

Browse files
authored
[core] Update Go Version and Go Packages (#613)
Update the used version of Go to 1.22 and all Go packages we are using.
1 parent 8b7041f commit d45fbcd

File tree

10 files changed

+441
-431
lines changed

10 files changed

+441
-431
lines changed

cmd/kobs/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ RUN npm config set fetch-timeout 3600000
55
RUN npm clean-install
66
RUN export NODE_OPTIONS=--max-old-space-size=4096 && npm run build
77

8-
FROM golang:1.20.7 as api
8+
FROM golang:1.22.0 as api
99
WORKDIR /kobs
1010
COPY go.mod go.sum /kobs/
1111
RUN go mod download
1212
COPY . .
1313
RUN export CGO_ENABLED=0 && make build
1414

15-
FROM alpine:3.18.2
15+
FROM alpine:3.19.1
1616
RUN apk update && apk add --no-cache ca-certificates
1717
RUN mkdir /kobs
1818
COPY --from=api /kobs/bin/kobs /kobs

deploy/helm/kobs/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: kobs
33
description: Kubernetes Observability Platform
44
type: application
5-
version: 0.3.1
5+
version: 0.4.0
66
appVersion: v0.12.0

deploy/helm/kobs/values.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ config:
3232
tracer:
3333
enabled: false
3434
service: hub
35-
provider: jaeger
36-
address: http://localhost:14268/api/traces
35+
provider: otlp
36+
address: localhost:4317
3737
3838
## kobs requires a MongoDB database to store the collected data. The following configuration can be used to
3939
## install a MongoDB database using the Bitnami Helm chart:
@@ -104,8 +104,8 @@ config:
104104
tracer:
105105
enabled: false
106106
service: watcher
107-
provider: jaeger
108-
address: http://localhost:14268/api/traces
107+
provider: otlp
108+
address: localhost:4317
109109
110110
## kobs requires a MongoDB database to store the collected data. The following configuration can be used to
111111
## install a MongoDB database using the Bitnami Helm chart:
@@ -133,8 +133,8 @@ config:
133133
tracer:
134134
enabled: false
135135
service: cluster
136-
provider: jaeger
137-
address: http://localhost:14268/api/traces
136+
provider: otlp
137+
address: localhost:4317
138138
139139
kubernetes:
140140
provider:

deploy/kustomize/cluster/configmap.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ data:
2121
tracer:
2222
enabled: false
2323
service: cluster
24-
provider: jaeger
25-
address: http://localhost:14268/api/traces
24+
provider: otlp
25+
address: localhost:4317
2626
2727
kubernetes:
2828
provider:

deploy/kustomize/hub/configmap.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ data:
2121
tracer:
2222
enabled: false
2323
service: hub
24-
provider: jaeger
25-
address: http://localhost:14268/api/traces
24+
provider: otlp
25+
address: localhost:4317
2626
2727
## kobs requires a MongoDB database to store the collected data. The following configuration can be used to
2828
## install a MongoDB database using the Bitnami Helm chart:

deploy/kustomize/watcher/configmap.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ data:
2121
tracer:
2222
enabled: false
2323
service: watcher
24-
provider: jaeger
25-
address: http://localhost:14268/api/traces
24+
provider: otlp
25+
address: localhost:4317
2626
27-
## kobs requires a MongoDB database to store the collected data. The following configuration can be used to
2827
## install a MongoDB database using the Bitnami Helm chart:
2928
##
3029
## helm install mongodb oci://registry-1.docker.io/bitnamicharts/mongodb --set auth.rootPassword=changeme

0 commit comments

Comments
 (0)