Files
demo-arun-01/score.yaml
demo-bot bed43174be
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m0s
Build and Push to ACR / Build and Push (push) Successful in 5m39s
feat: modernize application — source, platform artifacts, CI/CD
- chore: ingest source code

111 files from https://github.com/spring-projects/spring-petclinic
- feat: add platform deployment artifacts
- feat: add CI/CD workflow automation
2026-07-20 16:22:47 +00:00

33 lines
863 B
YAML

apiVersion: score.dev/v1b1
containers:
demo-arun-01:
image: .
variables:
SPRING_DATASOURCE_PASSWORD: ${resources.db.password}
SPRING_DATASOURCE_URL: jdbc:postgresql://${resources.db.host}:${resources.db.port}/${resources.db.name}
SPRING_DATASOURCE_USERNAME: ${resources.db.username}
OTEL_SERVICE_NAME: demo-arun-01
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector.monitoring.svc.cluster.local:4318
OTEL_RESOURCE_ATTRIBUTES: app=demo-arun-01
metadata:
annotations:
prometheus.io/path: /metrics
prometheus.io/port: '8080'
prometheus.io/scrape: 'true'
labels:
app: demo-arun-01
backstage.io/kubernetes-id: demo-arun-01
name: demo-arun-01
resources:
db:
type: postgres
dns:
type: dns
env:
type: environment
service:
ports:
http:
port: 8080
targetPort: 8080