38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
# ------------------------------------------------------------------------------
|
|
# Platform: external-dns
|
|
# Wave 6 — depends on ingress-nginx (wave 5)
|
|
# Multi-source: Helm chart from upstream + ExternalSecret from repo
|
|
# ------------------------------------------------------------------------------
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: external-dns
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "6"
|
|
spec:
|
|
project: default
|
|
sources:
|
|
# Source 1: Helm chart from upstream
|
|
- repoURL: https://kubernetes-sigs.github.io/external-dns
|
|
chart: external-dns
|
|
targetRevision: 1.15.1
|
|
helm:
|
|
valueFiles:
|
|
- $values/cluster/platform/external-dns/values.yaml
|
|
# Source 2: Repo — values ref + ExternalSecret manifest
|
|
- repoURL: https://gitea.mk-labs.cloud/rblundon/homelab.git
|
|
targetRevision: main
|
|
path: cluster/platform/external-dns
|
|
ref: values
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: external-dns
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|