feat: migrate to artifactapi 3+ (#197)

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
This commit was merged in pull request #197.
This commit is contained in:
2026-06-26 22:18:07 +10:00
parent 1c6e087116
commit aac1b654bb
11 changed files with 494 additions and 4 deletions
+16 -4
View File
@@ -5,16 +5,28 @@ kind: Kustomization
resources:
- artifactapi-deployment.yaml
- artifactapi-hpa.yaml
- configmap.yaml
- httproute.yaml
- postgres-deployment.yaml
- redis-deployment.yaml
- pvc.yaml
# shared
- configmap.yaml
- services.yaml
- gateway.yaml
- namespace.yaml
- postgres-deployment.yaml
- pvc.yaml
- redis-deployment.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