Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/* path error on latest Ingress with networking.k8s.io/v1 #569

Closed
ns0092 opened this issue Jul 29, 2021 · 2 comments
Closed

/* path error on latest Ingress with networking.k8s.io/v1 #569

ns0092 opened this issue Jul 29, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ns0092
Copy link

ns0092 commented Jul 29, 2021

{"level":"error","ts":1627597396.9217522,"logger":"controller","msg":"Reconciler error","controller":"ingress","name":"sample-ingress","namespace":"default","error":"ingress: default/sample-ingress: prefix path shouldn't contain wildcards: /*"

Ingress does not treat / path as /*. However, everything works fine with path as /* but the controller has this above error ⬆️

Environment

  • Chart name: aws-load-balancer-controller
  • Chart version: v1.2.3
  • Kubernetes version: 1.20
  • Using EKS (yes/no), if so version? Yes, 1.20

Additional Context:
App Version: v2.2.1

@ns0092 ns0092 added the bug Something isn't working label Jul 29, 2021
@M00nF1sh
Copy link
Contributor

@ns0092
There is PathType associated with each path. For "Prefix" type, it shouldn't contain any wild cards.
You may use "ImplementationSpecific" path type if you want to specify the path per ALB's syntax.

see https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
and kubernetes-sigs/aws-load-balancer-controller#1772

@kishorj
Copy link
Contributor

kishorj commented Oct 4, 2021

@ns0092, closing the issue. If you still have the problem, feel free to open an issue in the upstream repository https://github.com/kubernetes-sigs/aws-load-balancer-controller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants