Fix regression in Ingress PathType introduced in v1.5.0

Signed-off-by: Jake Sanders <i@am.so-aweso.me>
This commit is contained in:
Jake Sanders
2021-08-18 14:56:17 +00:00
committed by jetstack-bot
parent d49f8e1a49
commit 9037c7ce44
+1 -1
View File
@@ -358,7 +358,7 @@ func (s *Solver) cleanupIngresses(ctx context.Context, ch *cmacme.Challenge) err
func ingressPath(token, serviceName string) networkingv1.HTTPIngressPath {
return networkingv1.HTTPIngressPath{
Path: solverPathFn(token),
PathType: func() *networkingv1.PathType { s := networkingv1.PathTypeExact; return &s }(),
PathType: func() *networkingv1.PathType { s := networkingv1.PathTypeImplementationSpecific; return &s }(),
Backend: networkingv1.IngressBackend{
Service: &networkingv1.IngressServiceBackend{
Name: serviceName,