diff --git a/CI/renovate/renovate-job.yaml b/CI/renovate/renovate-job.yaml index e17840a..8c43d5e 100644 --- a/CI/renovate/renovate-job.yaml +++ b/CI/renovate/renovate-job.yaml @@ -33,6 +33,8 @@ spec: envFrom: - secretRef: name: renovate-pat + - secretRef: + name: GITHUB_COM_TOKEN volumeMounts: - name: work-volume mountPath: /tmp/renovate/ diff --git a/apps/templates/ci.yaml b/apps/templates/ci.yaml new file mode 100644 index 0000000..40392d1 --- /dev/null +++ b/apps/templates/ci.yaml @@ -0,0 +1,24 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: ci + namespace: argo-cd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + server: https://kubernetes.default.svc + namespace: ci + project: default + source: + path: CI/ + repoURL: https://git.roxedus.dev/Roxedus/Argo.git + targetRevision: HEAD + directory: + recurse: true + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file