feat(envs): add staging and prod environments
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).
This commit is contained in:
24
envs/prod/apps/tenant-api.yaml
Normal file
24
envs/prod/apps/tenant-api.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: tenant-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/tenant-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
|
||||
Reference in New Issue
Block a user