mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-20 15:04:17 +00:00
Add doc for new secCtx cm key and missing secCtxAllowPrivilegeEscalation.
Signed-off-by: MatthieuFin <matthieu2717@gmail.com>
This commit is contained in:
@@ -393,11 +393,27 @@ data:
|
||||
# If not set, it will default to "128Mi". A value of "0" is treated as unbounded.
|
||||
memLimit: 128Mi
|
||||
|
||||
# "secCtxRunAsUser sets the securityContext.runAsUser value on the restic init containers during restore."
|
||||
# "secCtxRunAsUser" sets the securityContext.runAsUser value on the restic init containers during restore.
|
||||
secCtxRunAsUser: 1001
|
||||
|
||||
# "secCtxRunAsGroup sets the securityContext.runAsGroup value on the restic init containers during restore."
|
||||
# "secCtxRunAsGroup" sets the securityContext.runAsGroup value on the restic init containers during restore.
|
||||
secCtxRunAsGroup: 999
|
||||
|
||||
# "secCtxAllowPrivilegeEscalation" sets the securityContext.allowPrivilegeEscalation value on the restic init containers during restore.
|
||||
secCtxAllowPrivilegeEscalation: false
|
||||
|
||||
# "secCtx" sets the securityContext object value on the restic init containers during restore.
|
||||
# This key override `secCtxRunAsUser`, `secCtxRunAsGroup`, `secCtxAllowPrivilegeEscalation` if `secCtx.runAsUser`, `secCtx.runAsGroup` or `secCtx.allowPrivilegeEscalation` are set.
|
||||
secCtx: |
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
add: []
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsUser: 1001
|
||||
runAsGroup: 999
|
||||
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Reference in New Issue
Block a user