Skip to content

Commit

Permalink
[core] Update Go Version and Go Packages
Browse files Browse the repository at this point in the history
Update the used version of Go to 1.22 and all Go packages we are using.
  • Loading branch information
ricoberger committed Feb 27, 2024
1 parent 8b7041f commit 730f590
Show file tree
Hide file tree
Showing 10 changed files with 441 additions and 431 deletions.
4 changes: 2 additions & 2 deletions cmd/kobs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ RUN npm config set fetch-timeout 3600000
RUN npm clean-install
RUN export NODE_OPTIONS=--max-old-space-size=4096 && npm run build

FROM golang:1.20.7 as api
FROM golang:1.22.0 as api
WORKDIR /kobs
COPY go.mod go.sum /kobs/
RUN go mod download
COPY . .
RUN export CGO_ENABLED=0 && make build

FROM alpine:3.18.2
FROM alpine:3.19.1
RUN apk update && apk add --no-cache ca-certificates
RUN mkdir /kobs
COPY --from=api /kobs/bin/kobs /kobs
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/kobs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: kobs
description: Kubernetes Observability Platform
type: application
version: 0.3.1
version: 0.4.0
appVersion: v0.12.0
12 changes: 6 additions & 6 deletions deploy/helm/kobs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ config:
tracer:
enabled: false
service: hub
provider: jaeger
address: http://localhost:14268/api/traces
provider: otlp
address: localhost:4317
## kobs requires a MongoDB database to store the collected data. The following configuration can be used to
## install a MongoDB database using the Bitnami Helm chart:
Expand Down Expand Up @@ -104,8 +104,8 @@ config:
tracer:
enabled: false
service: watcher
provider: jaeger
address: http://localhost:14268/api/traces
provider: otlp
address: localhost:4317
## kobs requires a MongoDB database to store the collected data. The following configuration can be used to
## install a MongoDB database using the Bitnami Helm chart:
Expand Down Expand Up @@ -133,8 +133,8 @@ config:
tracer:
enabled: false
service: cluster
provider: jaeger
address: http://localhost:14268/api/traces
provider: otlp
address: localhost:4317
kubernetes:
provider:
Expand Down
4 changes: 2 additions & 2 deletions deploy/kustomize/cluster/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ data:
tracer:
enabled: false
service: cluster
provider: jaeger
address: http://localhost:14268/api/traces
provider: otlp
address: localhost:4317
kubernetes:
provider:
Expand Down
4 changes: 2 additions & 2 deletions deploy/kustomize/hub/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ data:
tracer:
enabled: false
service: hub
provider: jaeger
address: http://localhost:14268/api/traces
provider: otlp
address: localhost:4317
## kobs requires a MongoDB database to store the collected data. The following configuration can be used to
## install a MongoDB database using the Bitnami Helm chart:
Expand Down
5 changes: 2 additions & 3 deletions deploy/kustomize/watcher/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ data:
tracer:
enabled: false
service: watcher
provider: jaeger
address: http://localhost:14268/api/traces
provider: otlp
address: localhost:4317
## kobs requires a MongoDB database to store the collected data. The following configuration can be used to
## install a MongoDB database using the Bitnami Helm chart:
##
## helm install mongodb oci://registry-1.docker.io/bitnamicharts/mongodb --set auth.rootPassword=changeme
Expand Down
Loading

0 comments on commit 730f590

Please sign in to comment.