Skip to content

Commit

Permalink
chore: update distroless to latest
Browse files Browse the repository at this point in the history
Signed-off-by: bwplotka <[email protected]>
  • Loading branch information
bwplotka committed Sep 20, 2024
1 parent 268f8cb commit fcebeb1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
15 changes: 8 additions & 7 deletions charts/values.global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,28 @@ namespace:
system: gmp-system
version: 0.13.1
images:
# NOTE: All tags have to be quoted otherwise they might be treated as a number.
bash:
image: gke.gcr.io/gke-distroless/bash
tag: "gke_distroless_20240607.00_p0" # NOTE: Has to be quoted otherwise it will be treated as a number.
tag: "gke_distroless_20240907.00_p0"
alertmanager:
image: gke.gcr.io/prometheus-engine/alertmanager
tag: "v0.25.1-gmp.8-gke.0@sha256:3854f01750baf1102adffb7d928522a0bd3f0f29d22c5fd659d63e0ee93bcab8"
tag: "v0.25.1-gmp.8-gke.0"
prometheus:
image: gke.gcr.io/prometheus-engine/prometheus
tag: "v2.45.3-gmp.9-gke.0@sha256:12a1ea30e057e7793982cf3c6cbcc3a18f7aaffe060b0ba59fb2da5433a40fd2"
tag: "v2.45.3-gmp.9-gke.0"
configReloader:
image: gke.gcr.io/prometheus-engine/config-reloader
tag: v0.13.1-gke.0
tag: "v0.13.1-gke.0"
operator:
image: gke.gcr.io/prometheus-engine/operator
tag: v0.13.1-gke.0
tag: "v0.13.1-gke.0"
ruleEvaluator:
image: gke.gcr.io/prometheus-engine/rule-evaluator
tag: v0.13.1-gke.0
tag: "v0.13.1-gke.0"
datasourceSyncer:
image: gcr.io/gke-release/prometheus-engine/datasource-syncer
tag: v0.13.1-gke.0
tag: "v0.13.1-gke.0"
resources:
alertManager:
limits:
Expand Down
10 changes: 5 additions & 5 deletions manifests/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ spec:
priorityClassName: gmp-critical
initContainers:
- name: config-init
image: gke.gcr.io/gke-distroless/bash:gke_distroless_20240607.00_p0
image: gke.gcr.io/gke-distroless/bash:gke_distroless_20240907.00_p0
command: ['/bin/bash', '-c', 'touch /prometheus/config_out/config.yaml']
volumeMounts:
- name: config-out
Expand Down Expand Up @@ -395,7 +395,7 @@ spec:
privileged: false
readOnlyRootFilesystem: true
- name: prometheus
image: gke.gcr.io/prometheus-engine/prometheus:v2.45.3-gmp.9-gke.0@sha256:12a1ea30e057e7793982cf3c6cbcc3a18f7aaffe060b0ba59fb2da5433a40fd2
image: gke.gcr.io/prometheus-engine/prometheus:v2.45.3-gmp.9-gke.0
args:
- --config.file=/prometheus/config_out/config.yaml
- --enable-feature=exemplar-storage
Expand Down Expand Up @@ -642,7 +642,7 @@ spec:
priorityClassName: gmp-critical
initContainers:
- name: config-init
image: gke.gcr.io/gke-distroless/bash:gke_distroless_20240607.00_p0
image: gke.gcr.io/gke-distroless/bash:gke_distroless_20240907.00_p0
command: ['/bin/bash', '-c', 'touch /prometheus/config_out/config.yaml']
volumeMounts:
- name: config-out
Expand Down Expand Up @@ -812,7 +812,7 @@ spec:
automountServiceAccountToken: false
initContainers:
- name: config-init
image: gke.gcr.io/gke-distroless/bash:gke_distroless_20240607.00_p0
image: gke.gcr.io/gke-distroless/bash:gke_distroless_20240907.00_p0
command: ['/bin/bash', '-c', 'touch /alertmanager/config_out/config.yaml && echo -e "receivers:\n - name: noop\nroute:\n receiver: noop" > alertmanager/config_out/config.yaml']
volumeMounts:
- name: alertmanager-config
Expand All @@ -826,7 +826,7 @@ spec:
readOnlyRootFilesystem: true
containers:
- name: alertmanager
image: gke.gcr.io/prometheus-engine/alertmanager:v0.25.1-gmp.8-gke.0@sha256:3854f01750baf1102adffb7d928522a0bd3f0f29d22c5fd659d63e0ee93bcab8
image: gke.gcr.io/prometheus-engine/alertmanager:v0.25.1-gmp.8-gke.0
args:
- --config.file=/alertmanager/config_out/config.yaml
- --storage.path=/alertmanager-data
Expand Down
2 changes: 1 addition & 1 deletion manifests/rule-evaluator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ spec:
automountServiceAccountToken: true
initContainers:
- name: config-init
image: gke.gcr.io/gke-distroless/bash:gke_distroless_20240607.00_p0
image: gke.gcr.io/gke-distroless/bash:gke_distroless_20240907.00_p0
command: ['/bin/bash', '-c', 'touch /prometheus/config_out/config.yaml']
volumeMounts:
- name: config-out
Expand Down

0 comments on commit fcebeb1

Please sign in to comment.