REFACTOR(deploy): move argocd manifests

- Reorganize ArgoCD application structure
- Move manifests to deploy/argocd folder
This commit is contained in:
2025-12-17 18:27:23 +09:00
parent c877661fd2
commit fafc265895
5 changed files with 6 additions and 48 deletions

View File

@@ -1,36 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: jovies
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://gitea0213.kro.kr/bluemayne/jovies.git
targetRevision: main
path: .
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- CreateNamespace=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
revisionHistoryLimit: 10

View File

@@ -3,10 +3,6 @@ kind: Application
metadata:
name: jovies
namespace: argocd
annotations:
argocd-image-updater.argoproj.io/image-list: jovies=ghcr.io/mayne0213/jovies
argocd-image-updater.argoproj.io/jovies.update-strategy: latest
argocd-image-updater.argoproj.io/write-back-method: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
@@ -15,22 +11,20 @@ spec:
source:
repoURL: https://gitea0213.kro.kr/bluemayne/jovies.git
targetRevision: main
path: deploy/k8s/overlays/prod
path: .
destination:
server: https://kubernetes.default.svc
namespace: jovies
namespace: argocd
syncPolicy:
automated:
prune: true # 매니페스트에서 제거된 리소스 자동 삭제
selfHeal: true # 클러스터에서 수동 변경 시 자동 복구
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- CreateNamespace=true # namespace가 없으면 자동 생성
- PrunePropagationPolicy=foreground
- PruneLast=true
- CreateNamespace=true
retry:
limit: 5

View File

@@ -13,7 +13,7 @@ commonLabels:
# 이미지 태그 설정
images:
- name: ghcr.io/mayne0213/jovies
newTag: main-sha-879cb420edb94a27a6ecd00d9383a6edd0ab4c0c
newTag: main-sha-22be18850e9e0d735b4b1a9375ae470815338bef
patchesStrategicMerge:
- deployment-patch.yaml