Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add explicit securitycontext to controller
Adding explicit securitycontext ensures the CAPO controller will run as non-root, without special capabilities. Those are often also the defaults but being explicit avoids reliance on fallback values. In addition, adding seccompProfile of RuntimeDefault adds runtime specific syscall filtering (mostly off-limit by not having capability in the first place) but also couple other, non-namespaced syscalls. There is good discussion and reference links in similar CAPI PR at: kubernetes-sigs/cluster-api#7831
- Loading branch information