RHDH backstage
This commit is contained in:
@@ -15,9 +15,9 @@ spec:
|
||||
project: default
|
||||
|
||||
sources:
|
||||
- repoURL: https://backstage.github.io/charts
|
||||
- repoURL: https://redhat-developer.github.io/rhdh-chart
|
||||
chart: backstage
|
||||
targetRevision: "2.6.3"
|
||||
targetRevision: "5.8.0"
|
||||
helm:
|
||||
releaseName: backstage
|
||||
valueFiles:
|
||||
|
||||
@@ -1,91 +1,97 @@
|
||||
# Backstage - Internal Developer Portal
|
||||
# Helm chart: https://github.com/backstage/charts
|
||||
# Red Hat Developer Hub (RHDH) - Internal Developer Portal
|
||||
# Helm chart: https://github.com/redhat-developer/rhdh-chart
|
||||
# Includes 27+ plugins out of the box: ArgoCD, Kubernetes, Keycloak,
|
||||
# GitHub, GitLab, Jira, SonarQube, Tekton, Jenkins, and more.
|
||||
|
||||
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
|
||||
global:
|
||||
auth:
|
||||
username: backstage
|
||||
password: ""
|
||||
existingSecret: ""
|
||||
architecture: standalone
|
||||
primary:
|
||||
backend:
|
||||
enabled: true
|
||||
dynamic:
|
||||
includes:
|
||||
- dynamic-plugins.default.yaml
|
||||
plugins: []
|
||||
|
||||
# Disable OpenShift Route (not on OpenShift)
|
||||
route:
|
||||
enabled: false
|
||||
|
||||
upstream:
|
||||
backstage:
|
||||
image:
|
||||
registry: quay.io
|
||||
repository: rhdh-community/rhdh
|
||||
tag: next
|
||||
|
||||
podSecurityContext:
|
||||
runAsUser: 1001
|
||||
runAsGroup: 1001
|
||||
fsGroup: 1001
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
persistence:
|
||||
memory: 1Gi
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 2560Mi
|
||||
|
||||
appConfig:
|
||||
app:
|
||||
title: "Forte Developer Portal"
|
||||
baseUrl: http://localhost:7007
|
||||
|
||||
backend:
|
||||
baseUrl: http://localhost:7007
|
||||
database:
|
||||
client: better-sqlite3
|
||||
connection: ":memory:"
|
||||
|
||||
catalog:
|
||||
rules:
|
||||
- allow:
|
||||
- Component
|
||||
- System
|
||||
- API
|
||||
- Resource
|
||||
- Location
|
||||
- Template
|
||||
- Group
|
||||
- User
|
||||
- Domain
|
||||
locations: []
|
||||
# Register components from Gitea repositories by adding:
|
||||
# - type: url
|
||||
# target: https://git.forteapps.net/Forte/my-repo/raw/branch/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
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: library/postgres
|
||||
tag: "15"
|
||||
primary:
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 2Gi
|
||||
podSecurityContext:
|
||||
enabled: true
|
||||
fsGroup: 26
|
||||
runAsUser: 26
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 250m
|
||||
memory: 512Mi
|
||||
volumePermissions:
|
||||
enabled: true
|
||||
size: 2Gi
|
||||
|
||||
Reference in New Issue
Block a user