Convention: only the root app-of-apps (platform) auto-syncs so it picks up new/changed child Application definitions from Git. Every leaf service app (vault, headlamp, harbor, jenkins, sonarqube, external-secrets, kube-prometheus-stack) now requires an explicit manual Sync — matches cluster-bootstrap and homelab-services' existing ignis convention.
33 lines
1021 B
YAML
33 lines
1021 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: vault
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "0"
|
|
spec:
|
|
project: default
|
|
sources:
|
|
- repoURL: https://helm.releases.hashicorp.com
|
|
chart: vault
|
|
targetRevision: "0.30.0" # TODO: verify latest via `helm search repo hashicorp/vault --versions`
|
|
helm:
|
|
valueFiles:
|
|
- $values/platform/apps/vault/values.yaml
|
|
- repoURL: https://gitea.fireflylab.cc/duynguyen/cluster-platform.git
|
|
targetRevision: main
|
|
ref: values
|
|
- repoURL: https://gitea.fireflylab.cc/duynguyen/cluster-platform.git
|
|
targetRevision: main
|
|
path: platform/apps/vault
|
|
directory:
|
|
exclude: "{application.yaml,values.yaml}"
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: vault
|
|
# Leaf app — manual sync only; root `platform` app-of-apps stays automated.
|
|
syncPolicy:
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- SkipDryRunOnMissingResource=true
|