From afabbf37bdfd7816e3961cbac87ebb1994e38319 Mon Sep 17 00:00:00 2001 From: aajimal Date: Fri, 7 Jun 2024 16:08:38 -0700 Subject: [PATCH] Fix repo reference --- argocd/app/app-spamooor.yaml | 8 ++++---- argocd/appset/spamooor-applicationset.yaml | 14 +++++++++----- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/argocd/app/app-spamooor.yaml b/argocd/app/app-spamooor.yaml index 59ec6d4..2f857f1 100644 --- a/argocd/app/app-spamooor.yaml +++ b/argocd/app/app-spamooor.yaml @@ -26,13 +26,13 @@ spec: # - name: jobs.gasburnertxsjob.image.tag # value: latest syncPolicy: - automated: - prune: true - allowEmpty: true + automated: {} syncOptions: - CreateNamespace=true managedNamespaceMetadata: labels: + # argocd.argoproj.io/instance: <$ARGOCD_APP_NAME> argocd.argoproj.io/instance: spamooor annotations: - argocd.argoproj.io/tracking-id: spamooor/Namespace:spamooor-cronjobs \ No newline at end of file + # argocd.argoproj.io/tracking-id: <$ARGOCD_APP_NAME>:/Namespace:$ARGOCD_APP_NAMESPACE + argocd.argoproj.io/tracking-id: spamooor/Namespace:spamooor-cronjobs diff --git a/argocd/appset/spamooor-applicationset.yaml b/argocd/appset/spamooor-applicationset.yaml index c3a94cb..637e341 100644 --- a/argocd/appset/spamooor-applicationset.yaml +++ b/argocd/appset/spamooor-applicationset.yaml @@ -22,7 +22,7 @@ spec: # {{ .labels }} github: owner: astriaorg - repo: astria + repo: spamooor # Repository to check for PRs tokenRef: key: token secretName: github-pat @@ -61,9 +61,13 @@ spec: - name: jobs.gasburnertxsjob.image.tag value: pr-{{.number}} syncPolicy: - automated: - prune: true - selfHeal: false - allowEmpty: true + automated: {} syncOptions: - CreateNamespace=true + managedNamespaceMetadata: + labels: + # argocd.argoproj.io/instance: <$ARGOCD_APP_NAME> + argocd.argoproj.io/instance: spamooor-{{.number}} + annotations: + # argocd.argoproj.io/tracking-id: <$ARGOCD_APP_NAME>:/Namespace:$ARGOCD_APP_NAMESPACE + argocd.argoproj.io/tracking-id: spamooor-{{.number}}/Namespace:spamooor-{{.number}}