Files
demo-daniel-1/score.yaml
demo-bot 0a3bd1336d
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m11s
Build and Push to ACR / Build and Push (push) Has been skipped
feat: modernize application — source, platform artifacts, CI/CD (#3)
2026-11-12 17:51:01 +00:00

42 lines
1.2 KiB
YAML

apiVersion: score.dev/v1b1
containers:
demo-daniel-1:
image: .
variables:
SPRING_DATASOURCE_PASSWORD: ${resources.db.password}
SPRING_DATASOURCE_URL: jdbc:postgresql://${resources.db.hostname}:${resources.db.port}/${resources.db.database}
SPRING_DATASOURCE_USERNAME: ${resources.db.username}
OTEL_SERVICE_NAME: demo-daniel-1
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector.monitoring.svc.cluster.local:4318
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
OTEL_RESOURCE_ATTRIBUTES: service.name=demo-daniel-1,app=demo-daniel-1
OTEL_METRICS_EXPORTER: otlp
OTEL_TRACES_EXPORTER: otlp
OTEL_LOGS_EXPORTER: none
metadata:
annotations:
prometheus.io/path: /metrics
prometheus.io/port: '8080'
prometheus.io/scrape: 'true'
labels:
app: demo-daniel-1
backstage.io/kubernetes-id: demo-daniel-1
name: demo-daniel-1
resources:
db:
type: postgres
env:
type: environment
ingress:
params:
hostname: demo-daniel-1.apps.dev.crucible.kyndemo.live
name: demo-daniel-1
service_name: demo-daniel-1
service_port: 8080
type: workload-ingress
service:
ports:
http:
port: 8080
targetPort: 8080