Skip to content

Commit 03fbf28

Browse files
committed
Update NATS to vuln free image
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent 92f4ed7 commit 03fbf28

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

k8s/cloud_deps/base/nats/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ spec:
158158
containers:
159159
- name: pl-nats
160160
# yamllint disable-line rule:line-length
161-
image: ghcr.io/pixie-io/nats:2.9.25-scratch-pl1@sha256:ac7228464fbc7154e91c9a00cba85b5da1df9a3ded6c784cdd6009cece85a1e3
161+
image: ghcr.io/pixie-io/nats:2.9.25-scratch-pl2@sha256:7b988768facb8b0c3f55a1da3cb4f4097d3fc817047d7651b78ac6f56818f1ed
162162
ports:
163163
- containerPort: 4222
164164
name: client

k8s/vizier_deps/base/nats/nats_statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ spec:
111111
containers:
112112
- name: pl-nats
113113
# yamllint disable-line rule:line-length
114-
image: ghcr.io/pixie-io/nats:2.9.25-scratch-pl1@sha256:ac7228464fbc7154e91c9a00cba85b5da1df9a3ded6c784cdd6009cece85a1e3
114+
image: ghcr.io/pixie-io/nats:2.9.25-scratch-pl2@sha256:7b988768facb8b0c3f55a1da3cb4f4097d3fc817047d7651b78ac6f56818f1ed
115115
ports:
116116
- containerPort: 4222
117117
name: client

tools/docker/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ LINUX_HEADERS_GS_PATH := gs://pixie-dev-public/linux-headers/$(LINUX_HEADERS_REV
116116

117117
## NATS image parameters.
118118
NATS_IMAGE_VERSION := 2.9.25
119-
NATS_IMAGE_REV := pl1
119+
NATS_IMAGE_REV := pl2
120120
nats_image_tag := "ghcr.io/pixie-io/nats:$(NATS_IMAGE_VERSION)-scratch-$(NATS_IMAGE_REV)"
121121

122122
## Ory image parameters.

tools/docker/nats_image/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515
# SPDX-License-Identifier: Apache-2.0
1616

17-
FROM --platform=$BUILDPLATFORM golang:1.24-alpine@sha256:c8c5f95d64aa79b6547f3b626eb84b16a7ce18a139e3e9ca19a8c078b85ba80d AS build
17+
FROM --platform=$BUILDPLATFORM golang:1.24-alpine@sha256:8bee1901f1e530bfb4a7850aa7a479d17ae3a18beb6e09064ed54cfd245b7191 AS build
1818

1919
ARG TARGETOS TARGETARCH
2020
ARG NATS_VERSION
@@ -37,7 +37,7 @@ ARG CGO_ENABLED=0
3737
RUN go mod download
3838
# TODO(ddelnano): Remove once NATS server is updated to have
3939
# vulnerability free upstream deps
40-
RUN go get golang.org/x/crypto@v0.35.0
40+
RUN go get golang.org/x/crypto@v0.45.0
4141
RUN go get github.com/nats-io/nkeys@v0.4.6
4242
RUN go build -trimpath -ldflags "-X github.com/nats-io/nats-server/v2/server.gitCommit=$(git rev-parse --short HEAD)" -o ./nats-server
4343

0 commit comments

Comments
 (0)