diff --git a/jsonnet/kube-prometheus/addons/podsecuritypolicies.libsonnet b/jsonnet/kube-prometheus/addons/podsecuritypolicies.libsonnet index 888d553e34bdb0cfe909261ef1b3a42c22b15360..65908f8cad7533f33929e4e2eb2304750b0032e7 100644 --- a/jsonnet/kube-prometheus/addons/podsecuritypolicies.libsonnet +++ b/jsonnet/kube-prometheus/addons/podsecuritypolicies.libsonnet @@ -209,8 +209,8 @@ local restrictedPodSecurityPolicy = { hostPID: true, hostPorts: [ { - max: 9100, - min: 9100, + max: $.nodeExporter.config.port, + min: $.nodeExporter.config.port, }, ], readOnlyRootFilesystem: true,