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:
30
argocd/application.yaml
Normal file
30
argocd/application.yaml
Normal 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
|
||||||
@@ -4,7 +4,7 @@ metadata:
|
|||||||
name: regcred
|
name: regcred
|
||||||
type: kubernetes.io/dockerconfigjson
|
type: kubernetes.io/dockerconfigjson
|
||||||
data:
|
data:
|
||||||
.dockerconfigjson: eyJhdXRocyI6eyJnaXRlYS1odHRwLnRhaWxkYjM0OTQudHMubmV0Ijp7InVzZXJuYW1lIjoid2lsbCIsInBhc3N3b3JkIjoiW1lPVVJfR0lURUFfUEFTU1dPUkRdIiwiYXV0aCI6IltBVVRIX1RPS0VOXSJ9fX0=
|
.dockerconfigjson: eyJhdXRocyI6eyJnaXRlYS1naXRlYS1odHRwLnRhaWxkYjM0OTQudHMubmV0Ijp7InVzZXJuYW1lIjoid2lsbCIsInBhc3N3b3JkIjoiZnJhY2s2NjYiLCJhdXRoIjoiZDJsc2JEcm1yY2t6TjZOZz09In19fQ==
|
||||||
|
|
||||||
---
|
---
|
||||||
# IMPORTANT:
|
# IMPORTANT:
|
||||||
|
|||||||
Reference in New Issue
Block a user