diff --git a/stable/prometheus-blackbox-exporter/Chart.yaml b/stable/prometheus-blackbox-exporter/Chart.yaml index 909ddfd827..aade00050c 100644 --- a/stable/prometheus-blackbox-exporter/Chart.yaml +++ b/stable/prometheus-blackbox-exporter/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Prometheus Blackbox Exporter name: prometheus-blackbox-exporter -version: 4.2.1 +version: 4.2.2 appVersion: 0.16.0 home: https://github.com/prometheus/blackbox_exporter sources: diff --git a/stable/prometheus-blackbox-exporter/templates/podsecuritypolicy.yaml b/stable/prometheus-blackbox-exporter/templates/podsecuritypolicy.yaml index 373ebf9b2d..56e307fac9 100644 --- a/stable/prometheus-blackbox-exporter/templates/podsecuritypolicy.yaml +++ b/stable/prometheus-blackbox-exporter/templates/podsecuritypolicy.yaml @@ -36,4 +36,8 @@ spec: - min: 1 max: 65535 readOnlyRootFilesystem: {{ .Values.readOnlyRootFilesystem }} + {{- if .Values.allowIcmp }} + allowedCapabilities: + - NET_RAW + {{- end }} {{- end }}