From 4b39bd9efa3095dd39ee9a29fcba09a2d39ce0b6 Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Mon, 23 Dec 2024 02:43:12 -0600 Subject: [PATCH] Added project 'testing' --- projects/testing.yaml | 93 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 projects/testing.yaml diff --git a/projects/testing.yaml b/projects/testing.yaml new file mode 100644 index 00000000..821207e7 --- /dev/null +++ b/projects/testing.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: testing + namespace: argocd +spec: + clusterResourceWhitelist: + - group: '*' + kind: '*' + description: testing 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: testing + namespace: argocd +spec: + generators: + - git: + files: + - path: apps/**/testing/config.json + repoURL: https://github.com/developing-today/code.git + requeueAfterSeconds: 20 + revision: "" + template: + metadata: {} + spec: + destination: {} + project: "" + - git: + files: + - path: apps/**/testing/config_dir.json + repoURL: https://github.com/developing-today/code.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: testing-{{ userGivenName }} + namespace: argocd + spec: + destination: + namespace: '{{ destNamespace }}' + server: '{{ destServer }}' + ignoreDifferences: + - group: argoproj.io + jsonPointers: + - /status + kind: Application + project: testing + source: + path: '{{ srcPath }}' + repoURL: '{{ srcRepoURL }}' + targetRevision: '{{ srcTargetRevision }}' + syncPolicy: + automated: + allowEmpty: true + prune: true + selfHeal: true +status: {}