Merge pull request #279 from 5cat/next-talos-privilged-namespace

adding privileged namespace note for talos #270
This commit is contained in:
Travis Glenn Hansen 2023-02-25 22:45:25 -07:00 committed by GitHub
commit dda49d6d86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -185,6 +185,13 @@ node:
and continue your democratic installation as usuall with other iscsi drivers.
#### Privilged Namespace
democratic-csi requires privileged access to the nodes, so the namespace should allow for privileged pods. One way of doing it is via [namespace labels](https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-namespace-labels/).
Add the followin label to the democratic-csi installation namespace `pod-security.kubernetes.io/enforce=privileged`
```
kubectl label --overwrite namespace democratic-csi pod-security.kubernetes.io/enforce=privileged
```
### nvmeof
```bash