FEAT(deploy): add prod argocd app
- Add ArgoCD Application for production environment - Enable prod deployment management
This commit is contained in:
20
deploy/argocd/application-prod.yaml
Normal file
20
deploy/argocd/application-prod.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: todo-prod
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitea0213.kro.kr/bluemayne/todo.git
|
||||
targetRevision: main
|
||||
path: deploy/k8s/overlays/prod
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: todo
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -6,4 +6,5 @@ resources:
|
||||
- application.yaml
|
||||
|
||||
# Application deployments (prod and dev)
|
||||
- application-prod.yaml
|
||||
- application-dev.yaml
|
||||
|
||||
@@ -15,7 +15,7 @@ commonLabels:
|
||||
# 이미지 태그 설정
|
||||
images:
|
||||
- name: ghcr.io/mayne0213/todo
|
||||
newTag: main-sha-616d54451fb0d891141cc2b3f2d769687e0cd80c
|
||||
newTag: main-sha-1fbca3e01607da3944543ad1dfa34c0686da3523
|
||||
|
||||
patchesStrategicMerge:
|
||||
- deployment-patch.yaml
|
||||
Reference in New Issue
Block a user