Installing Argo CD on K3s behind Traefik
Argo CD without a redirect loop, without Dex, and with a Git repository Secret.
Status: Git access via hostAliases superseded by the coredns-custom recipe.
What it’s for
Section titled “What it’s for”A small Argo CD on K3s, served through Traefik over HTTP on a private network.
- Values that matter:
configs: params: server.insecure: truedex: enabled: falsenotifications: enabled: false- Install:
helm upgrade --install argocd argo/argo-cd -n argocd --create-namespace -f values.yaml- Add the Git repo as a Secret:
apiVersion: v1kind: Secretmetadata: name: repo-platform namespace: argocd labels: argocd.argoproj.io/secret-type: repositorystringData: type: git url: http://gitea.example.home.arpa/<owner>/<repo>.git- Make the Git hostname resolve inside the cluster (see the coredns-custom recipe).
Check it worked
Section titled “Check it worked”/api/versionreturns 200.- Applications reach Synced and Healthy.
Traps seen
Section titled “Traps seen”- Without
server.insecure, argocd-server redirects HTTP to HTTPS and Traefik loops. - Only use HTTP like this on a private, encrypted network such as a tailnet.
Where this came from
Section titled “Where this came from”- Argo CD redirect loop behind Traefik (2026-10-17)