Skip to content

Commit 38bc694

Browse files
authored
Switch to a distroless nats image (#1404)
Summary: Using a `scratch` based image is effectively distroless since the first layer will be empty. This also upgrades nats to the latest version. Relevant Issues: #1363 Type of change: /kind cleanup Test Plan: dev cloud and dev vizier builds work. Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>
1 parent 8b145be commit 38bc694

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

k8s/cloud_deps/base/nats/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ spec:
159159
terminationGracePeriodSeconds: 60
160160
containers:
161161
- name: pl-nats
162-
image: nats:2.9.16-alpine3.17@sha256:887f0193c5b72b66ff4795b807f3e9e324c34ffafbce612e54b2be8140a06de1
162+
image: nats:2.9.17-scratch@sha256:8371b3bfc468a2294efb247531c2252c592398a98b574c2e81268d8c7f865d35
163163
ports:
164164
- containerPort: 4222
165165
name: client

k8s/vizier_deps/base/nats/nats_statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ spec:
113113
containers:
114114
- name: pl-nats
115115
# yamllint disable-line rule:line-length
116-
image: gcr.io/pixie-oss/pixie-prod/vizier-deps/nats:multiarch-2.8.4-alpine3.15@sha256:988010f74b61749cfb82c28b50b47d26d0b972860ce6e9325a5afcde97713da2
116+
image: gcr.io/pixie-oss/pixie-prod/vizier-deps/nats:2.9.17-scratch@sha256:8371b3bfc468a2294efb247531c2252c592398a98b574c2e81268d8c7f865d35
117117
ports:
118118
- containerPort: 4222
119119
name: client

0 commit comments

Comments
 (0)