nix: Allow all capabilities in Nomad
This will be necessary for the smartctl exporter since it needs Linux capabilities that are not allowed by default in Nomad. We only have trusted Nomad jobs, and we already allow privileged containers anyway, so there is no security impact.
This commit is contained in:
parent
a2a470ac3d
commit
5790453ff1
1 changed files with 1 additions and 0 deletions
|
@ -397,6 +397,7 @@ in
|
|||
{
|
||||
volumes.enabled = true;
|
||||
allow_privileged = true;
|
||||
allow_caps = ["all"];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue