From ab4a0cd76608b47881b3702b2bc03072a11ca827 Mon Sep 17 00:00:00 2001 From: OpenCode Test Date: Fri, 26 Dec 2025 13:13:06 -0800 Subject: [PATCH] feat: add ArgoCD application configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add ArgoCD Application manifest for GitOps deployment - Update image pull secret with actual Gitea credentials - Enable automated sync with auto-prune and self-heal - Configure namespace as adopt-a-street with auto-creation - Add retry logic with exponential backoff for reliability 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- argocd/application.yaml | 30 ++++++++++++++++++++++++++++++ deploy/k8s/image-pull-secret.yaml | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 argocd/application.yaml diff --git a/argocd/application.yaml b/argocd/application.yaml new file mode 100644 index 0000000..03bb89f --- /dev/null +++ b/argocd/application.yaml @@ -0,0 +1,30 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: adopt-a-street + namespace: argocd + labels: + app: adopt-a-street +spec: + destination: + namespace: adopt-a-street + server: https://kubernetes.default.svc + project: default + source: + path: deploy/k8s + repoURL: git@gitea-gitea-ssh.taildb3494.ts.net:will/adopt-a-street.git + targetRevision: main + syncPolicy: + automated: + prune: true + selfHeal: true + allowEmpty: false + syncOptions: + - CreateNamespace=true + - ServerSideApply=true + retry: + limit: 5 + backoff: + duration: 5s + factor: 2 + maxDuration: 3m diff --git a/deploy/k8s/image-pull-secret.yaml b/deploy/k8s/image-pull-secret.yaml index 46aaa62..2852841 100644 --- a/deploy/k8s/image-pull-secret.yaml +++ b/deploy/k8s/image-pull-secret.yaml @@ -4,7 +4,7 @@ metadata: name: regcred type: kubernetes.io/dockerconfigjson data: - .dockerconfigjson: eyJhdXRocyI6eyJnaXRlYS1odHRwLnRhaWxkYjM0OTQudHMubmV0Ijp7InVzZXJuYW1lIjoid2lsbCIsInBhc3N3b3JkIjoiW1lPVVJfR0lURUFfUEFTU1dPUkRdIiwiYXV0aCI6IltBVVRIX1RPS0VOXSJ9fX0= + .dockerconfigjson: eyJhdXRocyI6eyJnaXRlYS1naXRlYS1odHRwLnRhaWxkYjM0OTQudHMubmV0Ijp7InVzZXJuYW1lIjoid2lsbCIsInBhc3N3b3JkIjoiZnJhY2s2NjYiLCJhdXRoIjoiZDJsc2JEcm1yY2t6TjZOZz09In19fQ== --- # IMPORTANT: