Skip to content

Commit

Permalink
Remove service links from http solver pod
Browse files Browse the repository at this point in the history
Signed-off-by: schrodit <mail@timschrodi.tech>
  • Loading branch information
schrodit committed Jun 12, 2023
1 parent c035090 commit c955988
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/issuer/acme/http/pod.go
Expand Up @@ -188,7 +188,8 @@ func (s *Solver) buildDefaultPod(ch *cmacme.Challenge) *corev1.Pod {
NodeSelector: map[string]string{
"kubernetes.io/os": "linux",
},
RestartPolicy: corev1.RestartPolicyOnFailure,
RestartPolicy: corev1.RestartPolicyOnFailure,
EnableServiceLinks: pointer.Bool(false),
SecurityContext: &corev1.PodSecurityContext{
RunAsNonRoot: pointer.BoolPtr(s.ACMEOptions.ACMEHTTP01SolverRunAsNonRoot),
SeccompProfile: &corev1.SeccompProfile{
Expand Down

0 comments on commit c955988

Please sign in to comment.