1
0
Fork 0

v-m/blackbox: Switch to upstream container image

I found the official container image for Prometheus Blackbox exporter.
It is hosted on Quay, which is why I didn't see it on Docker Hub when I
looked initially.
dch-webhooks-secrets
Dustin 2024-01-06 14:13:00 -06:00
parent 539e25d9bd
commit 278be05121
1 changed files with 3 additions and 2 deletions

View File

@ -34,7 +34,7 @@ spec:
spec:
containers:
- name: blackbox-exporter
image: docker.io/bitnami/blackbox-exporter:0.24.0
image: quay.io/prometheus/blackbox-exporter:v0.24.0
args:
- --config.file=/etc/blackbox-exporter/blackbox.yml
ports:
@ -52,7 +52,6 @@ spec:
failureThreshold: 30
timeoutSeconds: 1
securityContext:
runAsNonRoot: true
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /etc/blackbox-exporter
@ -63,6 +62,8 @@ spec:
subPath: tmp
securityContext:
runAsNonRoot: true
runAsUser: 1422
runAsGroup: 1422
sysctls:
- name: net.ipv4.ping_group_range
value: 0 65536