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

bad URL endpoint link #4454

Open
stsang-intuit opened this issue Sep 29, 2020 · 2 comments
Open

bad URL endpoint link #4454

stsang-intuit opened this issue Sep 29, 2020 · 2 comments

Comments

@stsang-intuit
Copy link

@stsang-intuit stsang-intuit commented Sep 29, 2020

If you are trying to resolve an environment-specific issue or have a one-off question about the edge case that does not require a feature then please consider asking a
question in argocd slack channel.

Checklist:

  • [*] I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • [*] I've included steps to reproduce the bug.
  • [*] I've pasted the output of argocd version.

Describe the bug
Create an ingress with multiple hosts with paths defined.
After syncing in argocd, When you click on the endpoint link, it will include the path /*

A clear and concise description of what the bug is.

To Reproduce

Create an ingress with 2 services

kind: Ingress
apiVersion: networking.k8s.io/v1beta1
metadata:
  annotations:
    alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-west-2:xxxxxxxx:certificate/xxxxxxxxxxx
    alb.ingress.kubernetes.io/security-groups: cidr-ingress
    external-dns.alpha.kubernetes.io/hostname: sandbox-qal-usw2-eks-mesh-demo-e.somedomain.com,sandbox-qal-usw2-eks-mesh-demo-e-jacoco.somedomain.com
  name: ingress
spec:
  rules:
    - host: sandbox-qal-usw2-eks-mesh-demo-e-jacoco.somedomain.com
      http:
        paths:
          - backend:
              serviceName: jacoco-server-service
              servicePort: 443
            path: /*
    - host: sandbox-qal-usw2-eks-mesh-demo-e.somedomain.com
      http:
        paths:
          - backend:
              serviceName: mesh-demo-e-appd-service
              servicePort: 443
            path: /*

A list of the steps required to reproduce the issue. Best of all, give us the URL to a repository that exhibits this issue.

Expected behavior
The URL endpoint should not append the path, if it is '/*'

A clear and concise description of what you expected to happen.

Screenshots

Screen Shot 2020-09-29 at 11 58 10 AM

Version

v1.7.6+f5c72fa.dirty

Logs

@jessesuen
Copy link
Contributor

@jessesuen jessesuen commented Sep 30, 2020

I think path: /* could be special cased in the UI to just not append it.

igaskin added a commit to igaskin/argo-cd that referenced this issue Oct 4, 2020
edge case where /* should not be appended to path

argoproj#4454
@igaskin
Copy link
Contributor

@igaskin igaskin commented Oct 4, 2020

opened #4479 to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.