This is a Helm chart repo to deploy backsage. Deploy Backstage in 5 minutes.
Powered by The Platformers Community
- Deploy PG using CNPG
- Deploy Backstage
- Deploy cnpg
helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo update
helm upgrade --install cnpg cnpg/cloudnative-pg --namespace cnpg-system --create-namespace
- Create the first DB
kubectl apply -f - << EOF
---
apiVersion: v1
kind: Namespace
metadata:
name: backstage
---
apiVersion: v1
kind: Secret
type: kubernetes.io/basic-auth
metadata:
name: app-secret
namespace: backstage
data:
username: YXBw
password: cGFzc3dvcmQ=
---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: backstage
namespace: backstage
spec:
instances: 1
primaryUpdateStrategy: unsupervised
storage:
size: 1Gi
bootstrap:
initdb:
secret:
name: app-secret
postInitSQL:
- ALTER ROLE app CREATEDB
EOF
The Required Permissions:
Reading software components:
- repo
Reading organization data:
- read:org
- read:user
- user:email
Publishing software templates:
- repo
- workflow (if templates include GitHub workflows)
- Export your token to be used by the chart
export GH_TOKEN=YOUR-TOKEN
- Install the chart using your personal access token
helm repo add platformers-community http://helm.platformers.community/
helm repo update
helm upgrade --install backstage platformers-community/backstage -n backstage --set github.accessToken=${GH_TOKEN}
If you have to enforce HTTPS, use this Helm repo:
helm repo add platformers-community https://platformerscommunity.github.io/backstage-helm-chart/
open http://127.0.0.1:7007
kubectl port-forward svc/backstage -n backstage 7007:7007