Convention: only the root app-of-apps (bootstrap) auto-syncs so it picks up new/changed child Application definitions from Git. Every leaf service app (metallb, metallb-config, envoy-gateway, envoy-gateway-config, nfs-provisioner) now requires an explicit manual Sync — matches the existing argocd (self-manage) and ignis convention.
22 lines
595 B
YAML
22 lines
595 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: metallb-config
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "1"
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://gitea.fireflylab.cc/duynguyen/cluster-bootstrap.git
|
|
targetRevision: main
|
|
path: manifests/metallb-config
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: metallb-system
|
|
# Leaf app — manual sync only; root `bootstrap` app-of-apps stays automated.
|
|
syncPolicy:
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- SkipDryRunOnMissingResource=true
|