To access Argo CD via an FQDN, we need to configure a few things.
- A domain (example.com)
- Personal Access Token for DigitalOcean DNS access
# Disable internal TLS to avoid internal redirection loops from HTTP to HTTPS. The API server should run with TLS disabled.
kubectl patch deployment -n argocd argocd-server --patch-file no-tls.yaml
# lets-encrypt-do-dns secret required for dns01 challenge
# @param access-token: DO access token
kubectl create ns cert-manager &&
kubectl create -n cert-manager secret generic lets-encrypt-do-dns \ --from-literal=access-token=<insert DO access token>
Fill in your custom domain - host: argocd.{{ .Values.domain }}
in the argo-ingress.yaml
kubectl apply -f argo-ingress.yaml