backstage

This commit is contained in:
2026-04-23 15:35:50 +02:00
parent aa6775bed2
commit 8ba6bff315
4 changed files with 180 additions and 0 deletions

View 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