update: Setting allowPrivilegeEscalation to false

Signed-off-by: Ivan <ivans@vaskir.co>
This commit is contained in:
Ivan 2022-03-17 00:46:35 +01:00
parent af47ae4e5b
commit d397aa5462

View File

@ -202,6 +202,9 @@ func (s *Solver) buildDefaultPod(ch *cmacme.Challenge) *corev1.Pod {
ContainerPort: acmeSolverListenPort,
},
},
SecurityContext: &corev1.SecurityContext{
AllowPrivilegeEscalation: pointer.BoolPtr(false),
},
},
},
},