feat: migrate to artifactapi 3+
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

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
This commit is contained in:
2026-06-21 18:08:09 +10:00
parent 1c6e087116
commit b658ce1369
13 changed files with 497 additions and 4 deletions
+17
View File
@@ -25,3 +25,20 @@ metadata:
data:
POSTGRES_DB: artifacts
POSTGRES_USER: artifacts
###
---
apiVersion: v1
kind: ConfigMap
metadata:
name: api-env
namespace: artifactapi
data:
DBHOST: postgres-pooler
DBNAME: artifacts
DBPORT: "5432"
DBUSER: artifacts
MINIO_BUCKET: artifactapi-prod-k8s-syd1-au
MINIO_ENDPOINT: radosgw.service.consul
MINIO_SECURE: "true"
REDIS_URL: redis://redis:6379
SSL_CERT_FILE: /etc/ssl/combined/ca-certificates.crt