aac1b654bb
What changed: - Adds new v3 API and UI deployments (separate api-deployment.yaml, ui-deployment.yaml) alongside the existing monolithic artifactapi-deployment.yaml - Adds CNPG PostgreSQL cluster + pooler to replace the standalone postgres deployment - Adds new api-env configmap, new Vault secrets (postgres-credentials, environment), and a second VaultAuth (default1) - Adds new services targeting the split api and ui selectors - Adds HPAs for both new deployments - Updates kustomization to include all new resources --------- Co-authored-by: Ben Vincent <ben@unkin.net> Reviewed-on: #197
44 lines
997 B
YAML
44 lines
997 B
YAML
---
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
resources:
|
|
- artifactapi-deployment.yaml
|
|
- artifactapi-hpa.yaml
|
|
- httproute.yaml
|
|
- postgres-deployment.yaml
|
|
- redis-deployment.yaml
|
|
- pvc.yaml
|
|
# shared
|
|
- configmap.yaml
|
|
- services.yaml
|
|
- gateway.yaml
|
|
- namespace.yaml
|
|
- vaultauth.yaml
|
|
- vaultstaticsecret.yaml
|
|
# new
|
|
- api-deployment.yaml
|
|
- api-hpa.yaml
|
|
- cnpg_cluster.yaml
|
|
- cnpg_pooler.yaml
|
|
- ui-deployment.yaml
|
|
- ui-hpa.yaml
|
|
# to copy still
|
|
# - httproute.yaml
|
|
# - redis-deployment.yaml
|
|
|
|
|
|
configMapGenerator:
|
|
- name: remotes-config
|
|
files:
|
|
- resources/conf.d/config.yaml
|
|
- resources/conf.d/local-generic.yaml
|
|
- resources/conf.d/remote-generic.yaml
|
|
- resources/conf.d/remote-alpine.yaml
|
|
- resources/conf.d/remote-rpm.yaml
|
|
- resources/conf.d/remote-docker.yaml
|
|
- resources/conf.d/remote-helm.yaml
|
|
- resources/conf.d/virtual-helm.yaml
|
|
options:
|
|
disableNameSuffixHash: true
|