- Add ArgoCD Application for production environment - Enable prod deployment management
21 lines
443 B
YAML
21 lines
443 B
YAML
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
|