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.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user