This yields the following error message when attempting “okteto up”:
x Couldn't activate your development container
allowPrivilegeEscalation != false (containers "okteto-bin", "okteto-init-volume" must set securityContext.allowPrivilegeEscalation=false), seccompProfile (pod or containers "okteto-bin", "okteto-init-volume" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
Would it be possible to add support for these options?
Hey @dimeoa ! To ensure we understand this: is the ask to let you define a custom securityContext, or for the init containers that Okteto creates to inherit the securityContext configuration from the existing deployment?
I came back to check on this issue and it seems that the kubernetes cluster has some security restrictions that do not allow the seccomp profile to be set via annotations.
I have the required modifications myself (from a colleague) but I am not familiarized at all with golang development on github.
Would it be possible to find some contributor who is willing to implement those modifications?