diff --git a/jsonnet/kube-prometheus/addons/podsecuritypolicies.libsonnet b/jsonnet/kube-prometheus/addons/podsecuritypolicies.libsonnet index 888d553e..65908f8c 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,