Use node-exporter defaults.port on psp

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
This commit is contained in:
ArthurSens
2021-03-18 20:56:47 +00:00
parent 478a18a6a7
commit b7d7ba0271

View File

@@ -209,8 +209,8 @@ local restrictedPodSecurityPolicy = {
hostPID: true, hostPID: true,
hostPorts: [ hostPorts: [
{ {
max: 9100, max: $.nodeExporter.config.port,
min: 9100, min: $.nodeExporter.config.port,
}, },
], ],
readOnlyRootFilesystem: true, readOnlyRootFilesystem: true,