Root cause of widespread 'Unknown' sync status / Skipping auto-sync across almost every Application: CoreDNS rewrites forgejo.riotpiao.com to the nginx ingress controller service (rewrite name forgejo.riotpiao.com -> ingress-nginx- controller...), which only listens on 80/443, not 3000. Every git fetch from argocd-repo-server to the :3000 repoURL was timing out (context deadline exceeded), so ArgoCD couldn't compare desired vs live state for any app. Fix: use https://forgejo.riotpiao.com (no port, TLS via nginx + wildcard cert) consistent with the 'all external endpoints HTTPS' requirement. Verified git smart-http response 200 on the new URL before committing.
24 lines
683 B
YAML
24 lines
683 B
YAML
# Wave 4 — Database schemas + init jobs. The CNPG operator and the ddb-cluster
|
|
# itself are Phase 0 (bootstrap); this app manages the additional schemas and
|
|
# the one-shot init job that seed databases for Authentik / Temporal / Vault.
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: data-schemas
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "4"
|
|
spec:
|
|
project: homelab
|
|
source:
|
|
repoURL: https://forgejo.riotpiao.com/riotpiao.com/homelab.git
|
|
targetRevision: main
|
|
path: k8s/data
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: ddb
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|