diff --git a/k8s/argocd/apps/00-substrate.yaml b/k8s/argocd/apps/00-substrate.yaml index 1bedc2e..d3989d7 100644 --- a/k8s/argocd/apps/00-substrate.yaml +++ b/k8s/argocd/apps/00-substrate.yaml @@ -160,3 +160,33 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true +--- +# Ingress host rules for all *.riotpiao.com services (grafana, authentik, +# forgejo, vault, minio, prometheus, etc). Previously orphaned — ingress.yaml +# was in k8s/bootstrap/ingress but no app applied it, so the services had no +# Ingress object and were unreachable via the LAN ingress (192.168.1.160). +# Each object carries its own namespace; no destination.namespace override. +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: homelab-ingress + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + argocd.argoproj.io/sync-wave: "2" +spec: + project: homelab + revisionHistoryLimit: 3 + source: + repoURL: http://forgejo.riotpiao.com:3000/riotpiao.com/homelab.git + targetRevision: main + path: k8s/bootstrap/ingress + directory: + include: "ingress.yaml" + destination: + server: https://kubernetes.default.svc + syncPolicy: + automated: + prune: true + selfHeal: true