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