backstage
This commit is contained in:
91
infra/values/base/backstage-values.yaml
Normal file
91
infra/values/base/backstage-values.yaml
Normal file
@@ -0,0 +1,91 @@
|
||||
# Backstage - Internal Developer Portal
|
||||
# Helm chart: https://github.com/backstage/charts
|
||||
|
||||
backstage:
|
||||
image:
|
||||
registry: ghcr.io
|
||||
repository: backstage/backstage
|
||||
tag: latest
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 512Mi
|
||||
|
||||
extraEnvVars:
|
||||
- name: POSTGRES_HOST
|
||||
value: "{{ .Release.Name }}-postgresql"
|
||||
- name: POSTGRES_PORT
|
||||
value: "5432"
|
||||
- name: POSTGRES_USER
|
||||
value: backstage
|
||||
- name: POSTGRES_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{{ .Release.Name }}-postgresql"
|
||||
key: password
|
||||
|
||||
appConfig:
|
||||
app:
|
||||
title: "Forte Developer Portal"
|
||||
baseUrl: http://localhost:3000
|
||||
|
||||
backend:
|
||||
baseUrl: http://localhost:7007
|
||||
listen:
|
||||
port: 7007
|
||||
database:
|
||||
client: pg
|
||||
connection:
|
||||
host: ${POSTGRES_HOST}
|
||||
port: ${POSTGRES_PORT}
|
||||
user: ${POSTGRES_USER}
|
||||
password: ${POSTGRES_PASSWORD}
|
||||
|
||||
catalog:
|
||||
rules:
|
||||
- allow:
|
||||
- Component
|
||||
- System
|
||||
- API
|
||||
- Resource
|
||||
- Location
|
||||
- Template
|
||||
- Group
|
||||
- User
|
||||
- Domain
|
||||
locations:
|
||||
# Register components from Gitea repositories
|
||||
# Example: uncomment and adjust to scan your Gitea org
|
||||
# - type: url
|
||||
# target: https://git.forteapps.net/Forte/*/blob/main/catalog-info.yaml
|
||||
# rules:
|
||||
# - allow: [Component, System, API]
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: traefik
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
|
||||
postgresql:
|
||||
enabled: true
|
||||
auth:
|
||||
username: backstage
|
||||
password: ""
|
||||
existingSecret: ""
|
||||
architecture: standalone
|
||||
primary:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 2Gi
|
||||
Reference in New Issue
Block a user