Clone dev into envs/staging and envs/prod, deploying to namespaces dbiz-staging and dbiz-prod on the same cluster. App names suffixed per env, destination namespaces + external-services namespaces + ingress hosts adjusted. Monitoring kept as a single cluster-wide stack in dev (not duplicated). Sealed secrets left empty pending per-namespace re-seal (sealed secrets are namespace-scoped).
25 lines
620 B
YAML
25 lines
620 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: platform-api-prod
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
sources:
|
|
- repoURL: https://git.renolation.com/renolation/argo-k8s.git
|
|
targetRevision: main
|
|
path: charts/dbiz-springboot
|
|
helm:
|
|
valueFiles:
|
|
- $values/envs/prod/values/platform-api.yaml
|
|
- repoURL: https://git.renolation.com/renolation/argo-k8s.git
|
|
targetRevision: main
|
|
ref: values
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: dbiz-prod
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|