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

ingress doesn't forward any path except / #166

Closed
gurpalw opened this issue Jul 14, 2022 · 0 comments · Fixed by #180
Closed

ingress doesn't forward any path except / #166

gurpalw opened this issue Jul 14, 2022 · 0 comments · Fixed by #180
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@gurpalw
Copy link

gurpalw commented Jul 14, 2022

latest 4.0.5 chart.

ingress:
  annotations:
    alb.ingress.kubernetes.io/backend-protocol: HTTP
    alb.ingress.kubernetes.io/target-type: 'ip'
    alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS": 443}]'
    alb.ingress.kubernetes.io/scheme: internet-facing
    alb.ingress.kubernetes.io/security-groups: sg-redacted, sg-redacted
    alb.ingress.kubernetes.io/manage-backend-security-group-rules: "true"
  enabled: true
  host: atlantis.dev.com #redacted real value
  ingressClassName: alb

Using the above values in my values.yaml results in only the atlantis.dev.com/ path being resolved by the alb. atlantis.dev.com/events and atlantis.dev.com/status all fail with 404 not found.

see below image of the resulting alb listener rule in aws when using the above values.

image

Instead i had to add the below values in addition to get it to forward all paths after the slash.

ingress:
  path: /*
  pathType: ImplementationSpecific

the alb ingressClassName is referring to my deployment of the aws load balancer controller chart version 1.4.1

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

Successfully merging a pull request may close this issue.

2 participants