feat: add ArgoCD application configuration

- 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 <noreply@anthropic.com>
This commit is contained in:
OpenCode Test
2025-12-26 13:13:06 -08:00
parent 1c26ed6723
commit ab4a0cd766
2 changed files with 31 additions and 1 deletions

30
argocd/application.yaml Normal file
View File

@@ -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

View File

@@ -4,7 +4,7 @@ metadata:
name: regcred
type: kubernetes.io/dockerconfigjson
data:
.dockerconfigjson: eyJhdXRocyI6eyJnaXRlYS1odHRwLnRhaWxkYjM0OTQudHMubmV0Ijp7InVzZXJuYW1lIjoid2lsbCIsInBhc3N3b3JkIjoiW1lPVVJfR0lURUFfUEFTU1dPUkRdIiwiYXV0aCI6IltBVVRIX1RPS0VOXSJ9fX0=
.dockerconfigjson: eyJhdXRocyI6eyJnaXRlYS1naXRlYS1odHRwLnRhaWxkYjM0OTQudHMubmV0Ijp7InVzZXJuYW1lIjoid2lsbCIsInBhc3N3b3JkIjoiZnJhY2s2NjYiLCJhdXRoIjoiZDJsc2JEcm1yY2t6TjZOZz09In19fQ==
---
# IMPORTANT: