0

An error occurred Failure executing: POST at: https://10.96.0.1/api/v1/namespaces/..../pods. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. admission webhook "validation.gatekeeper.sh" denied the request: [must-have-probes] Container in your has no [must-have-probes] Container in your has no [restricted-capabilities] container is not dropping all required capabilities. Container must drop all of ["KILL", "MKNOD", "SYS_CHROOT"].

As we can't see any option under podSecurityContext to drop capabilities. Anyone any idea?

  • Hi, Looks like admission controller (validation webhook) is configured in your cluster. Are you getting this error when you try to deploy a pod? If so can you share the pod yaml? – akhi1 Oct 04 '22 at 10:13

0 Answers0