Skip to content

Commit b045763

Browse files
committed
improve helm chart default image tag
upgrade packages during container image build to hopefully address some security issues. Signed-off-by: Alexander Trost <[email protected]>
1 parent 86c216a commit b045763

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:bullseye-slim
1+
FROM debian:bookworm-slim
22

33
ARG BUILD_DATE="N/A"
44
ARG REVISION="N/A"
@@ -15,6 +15,7 @@ LABEL org.opencontainers.image.authors="Alexander Trost <[email protected]>
1515
org.opencontainers.image.version="N/A"
1616

1717
RUN apt-get -q update && \
18+
apt-get -q upgrade -y && \
1819
apt-get install -y --no-install-recommends \
1920
ca-certificates \
2021
git \

charts/node-exporter-textfiles/values.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ replicaCount: 1
77
image:
88
repository: quay.io/galexrt/node-exporter-textfiles
99
pullPolicy: IfNotPresent
10-
# Overrides the image tag whose default is the chart appVersion.
11-
tag: ""
10+
# By default `main` is a moving image tag, I would recommend to use a
11+
# specific tag from here:
12+
# https://quay.io/repository/galexrt/node-exporter-textfiles?tab=tags
13+
tag: "main"
1214

1315
imagePullSecrets: []
1416
nameOverride: ""

0 commit comments

Comments
 (0)