REFACTOR(deploy): move argocd manifests
- Reorganize ArgoCD application structure - Move manifests to deploy/argocd folder
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user