apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: jenkins namespace: argocd annotations: argocd.argoproj.io/sync-wave: "2" spec: project: default sources: - repoURL: https://charts.jenkins.io chart: jenkins targetRevision: "5.8.0" # TODO: verify latest via `helm search repo jenkins/jenkins --versions` helm: valueFiles: - $values/platform/apps/jenkins/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/jenkins directory: exclude: "{application.yaml,values.yaml}" destination: server: https://kubernetes.default.svc namespace: jenkins # Leaf app — manual sync only; root `platform` app-of-apps stays automated. syncPolicy: syncOptions: - CreateNamespace=true - SkipDryRunOnMissingResource=true