REFACTOR(k8s): reorganize to base/overlays pattern

- Add k8s/base/ with deployment and service
- Add k8s/overlays/prod/ with environment config
This commit is contained in:
2025-12-23 22:49:06 +09:00
parent 9eec298fb3
commit 9d3a7656d4
14 changed files with 119 additions and 88 deletions

View File

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