initial commit
Change-Id: I12ab4ff8d5ef148640de63bdc0e9f41f3e885d8a
This commit is contained in:
45
score.yaml
Normal file
45
score.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
apiVersion: score.dev/v1b1
|
||||
metadata:
|
||||
# component_id is lowercase+hyphens — matches the catalog-info K8s label selector
|
||||
name: demo-app-1-v2
|
||||
labels:
|
||||
# Propagated to Deployment metadata.labels so the Backstage K8s plugin
|
||||
# can find the Deployment via label selector (app=<component_id>)
|
||||
app: demo-app-1-v2
|
||||
|
||||
containers:
|
||||
main:
|
||||
image: nginx:alpine
|
||||
# Uncomment to inject values from Humanitec resource outputs, e.g.:
|
||||
# variables:
|
||||
# APP_ENV: "${resources.env.values.APP_ENV}"
|
||||
# Uncomment to configure resource requests/limits:
|
||||
# resources:
|
||||
# requests: { cpu: 100m, memory: 128Mi }
|
||||
# limits: { cpu: 500m, memory: 512Mi }
|
||||
|
||||
service:
|
||||
ports:
|
||||
web:
|
||||
port: 80
|
||||
targetPort: 80
|
||||
|
||||
# Resources declare external dependencies resolved by Humanitec at deploy time.
|
||||
# Platform resource types available: environment, azure-blob, azure-keyvault-secret,
|
||||
# azure-service-bus, postgres, redis
|
||||
resources:
|
||||
env:
|
||||
type: environment
|
||||
# Uncomment to request an Azure Blob Storage container:
|
||||
# blob:
|
||||
# type: azure-blob
|
||||
#
|
||||
# Uncomment to request a Key Vault secret:
|
||||
# config:
|
||||
# type: azure-keyvault-secret
|
||||
# params:
|
||||
# secret_name: my-app-secret
|
||||
#
|
||||
# Uncomment to request a PostgreSQL database:
|
||||
# db:
|
||||
# type: postgres
|
||||
Reference in New Issue
Block a user