Secured Containers
Overview
Change Default settings of:
- PodSecurityContext
FSGroupis set to3000SeccompProfiletype is set toRuntimeDefault
- SecurityContext (Container)
RunAsUseris set to1000RunAsGroupis set to2000RunAsNonRootis set totrueReadOnlyRootFilesystemis set totrueCapabilities.Dropis set to["ALL"]
Additionally, the shared lifecycle volume (mounted at /lifecycle/tools) is mounted read-only in all runtime containers; only the init-lifecycle init container, which copies the operator binary into it, mounts it read-write.
Dependencies
- Operator Ephemeral Volumes should be Enabled and Supported.
How to use
To enable this feature use --deployment.feature.secured-containers arg, which needs be passed to the operator:
helm upgrade --install kube-arangodb \
https://github.com/arangodb/kube-arangodb/releases/download/$VER/kube-arangodb-$VER.tgz \
--set "operator.args={--deployment.feature.secured-containers}"