From c19343c75698130a4d79f221708c2cdc491ddedd Mon Sep 17 00:00:00 2001 From: Sergio Talens-Oliag Date: Wed, 30 Apr 2025 09:33:00 +0200 Subject: [PATCH] Added project 'test' --- projects/test.yaml | 93 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 projects/test.yaml diff --git a/projects/test.yaml b/projects/test.yaml new file mode 100644 index 0000000..2211976 --- /dev/null +++ b/projects/test.yaml @@ -0,0 +1,93 @@ +apiVersion: argoproj.io/v1alpha1 +kind: AppProject +metadata: + annotations: + argocd-autopilot.argoproj-labs.io/default-dest-server: https://kubernetes.default.svc + argocd.argoproj.io/sync-options: PruneLast=true + argocd.argoproj.io/sync-wave: "-2" + creationTimestamp: null + name: test + namespace: argocd +spec: + clusterResourceWhitelist: + - group: '*' + kind: '*' + description: test project + destinations: + - namespace: '*' + server: '*' + namespaceResourceWhitelist: + - group: '*' + kind: '*' + sourceRepos: + - '*' +status: {} + +--- +apiVersion: argoproj.io/v1alpha1 +kind: ApplicationSet +metadata: + annotations: + argocd.argoproj.io/sync-wave: "0" + creationTimestamp: null + name: test + namespace: argocd +spec: + generators: + - git: + files: + - path: apps/**/test/config.json + repoURL: https://forgejo.mixinet.net/blogops/argocd.git + requeueAfterSeconds: 20 + revision: "" + template: + metadata: {} + spec: + destination: {} + project: "" + - git: + files: + - path: apps/**/test/config_dir.json + repoURL: https://forgejo.mixinet.net/blogops/argocd.git + requeueAfterSeconds: 20 + revision: "" + template: + metadata: {} + spec: + destination: {} + project: "" + source: + directory: + exclude: '{{ exclude }}' + include: '{{ include }}' + jsonnet: {} + recurse: true + repoURL: "" + syncPolicy: {} + template: + metadata: + labels: + app.kubernetes.io/managed-by: argocd-autopilot + app.kubernetes.io/name: '{{ appName }}' + name: test-{{ userGivenName }} + namespace: argocd + spec: + destination: + namespace: '{{ destNamespace }}' + server: '{{ destServer }}' + ignoreDifferences: + - group: argoproj.io + jsonPointers: + - /status + kind: Application + project: test + source: + path: '{{ srcPath }}' + repoURL: '{{ srcRepoURL }}' + targetRevision: '{{ srcTargetRevision }}' + syncPolicy: + automated: + allowEmpty: true + prune: true + selfHeal: true +status: {}