Skip to content

Commit

Permalink
make argocd to run behind /argocd
Browse files Browse the repository at this point in the history
  • Loading branch information
sujeet-agrahari committed Feb 20, 2024
1 parent c2d418f commit d80d5c5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
11 changes: 10 additions & 1 deletion deploy/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,13 @@ kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/st

kubectl port-forward svc/argocd-server 8003:443 -n argocd

kubectl get secrets -n argocd argocd-initial-admin-secret -o yaml
kubectl get secrets -n argocd argocd-initial-admin-secret -o yaml q


# to serve on http you need add toplevel
# data:
# server.insecure: true

# in config map kubectl describe configmaps argocd-cmd-params-cm -n argocd

# also update server.rootpath: /argocd
20 changes: 20 additions & 0 deletions kubernetes/kong/argocd-ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-ingress
namespace: argocd
annotations:
kubernetes.io/ingress.class: 'kong'
konghq.com/strip-path: 'false'
spec:
rules:
- host: localhost
http:
paths:
- path: /argocd
pathType: Prefix
backend:
service:
name: argocd-server
port:
number: 80

0 comments on commit d80d5c5

Please sign in to comment.