feat: add platform deployment artifacts

This commit is contained in:
2026-03-13 16:01:40 +00:00
parent cae1f5b259
commit 5a03613090
8 changed files with 593 additions and 0 deletions

29
score.yaml Normal file
View File

@@ -0,0 +1,29 @@
apiVersion: score.dev/v1b1
containers:
test-siva-node-1:
image: .
variables:
DATABASE_URL: postgresql://${resources.db.username}:${resources.db.password}@${resources.db.host}:${resources.db.port}/${resources.db.name}
NODE_ENV: production
PORT: '3000'
metadata:
annotations:
prometheus.io/path: /metrics
prometheus.io/port: '3000'
prometheus.io/scrape: 'true'
labels:
app: test-siva-node-1
backstage.io/kubernetes-id: test-siva-node-1
name: test-siva-node-1
resources:
db:
type: postgres
dns:
type: dns
env:
type: environment
service:
ports:
http:
port: 3000
targetPort: 3000