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

Argocd is not properly deploying on context path #21741

Open
debkantap opened this issue Feb 3, 2025 · 0 comments
Open

Argocd is not properly deploying on context path #21741

debkantap opened this issue Feb 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@debkantap
Copy link

Checklist:

  • I have created ingress
  • I have edited the deployment file to add arguments

Describe the bug

To Reproduce

  1. Created the ingress as:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-ingress
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
spec:
ingressClassName: nginx
rules:
- host: mydomain.com
http:
paths:
- path: /argocd(/|$)(.*)
pathType: Prefix
backend:
service:
name: argocd-server
port:
number: 443

  1. Edited the argocd-server deployment as below:

containers:
- args:
- /usr/local/bin/argocd-server
- --rootpath=/argocd/ # added this line
- --basehref=/argocd/ # added this line
env:
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
key: auth
name: argocd-redis

Expected behavior

Version

argocd version v2.13.2+dc43124

Please help.

Thanks & Regards
DK

@debkantap debkantap added the bug Something isn't working label Feb 3, 2025
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

1 participant