Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #49 from bradmccoydev/DSOP-486/add-gh-auth-to-helm
Browse files Browse the repository at this point in the history
feat: add GH Auth to Helm chart
  • Loading branch information
bradmccoydev authored Nov 23, 2022
2 parents a47c6ea + 2f3bc04 commit 6dcde22
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 3 deletions.
8 changes: 8 additions & 0 deletions app-config.production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ app:
# Should be the same as backend.baseUrl when using the `app-backend` plugin.
baseUrl: https://backstage-backend.ortelius.io

auth:
environment: production
providers:
github:
development:
clientId: ${GITHUB_CLIENT_ID}
clientSecret: ${GITHUB_CLIENT_SECRET}

backend:
# Note that the baseUrl should be the URL that the browser and other clients
# should use when communicating with the backend, i.e. it needs to be
Expand Down
2 changes: 1 addition & 1 deletion app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ backend:
# auth:
# keys:
# - secret: ${BACKEND_SECRET}
baseUrl: https://backstage-backend.ortelius.ioß
baseUrl: https://backstage-backend.ortelius.io
listen:
port: 7007
# Uncomment the following host directive to bind to all IPv4 interfaces and
Expand Down
4 changes: 2 additions & 2 deletions chart/backstage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: A Helm chart for the Ortelius Backstage Instance

type: application

version: 0.0.7
appVersion: "0.0.7"
version: 0.0.8
appVersion: "0.0.8"

home: "https://ortelius.io"
icon: https://backstage.io/img/twitter-summary.png
Expand Down
10 changes: 10 additions & 0 deletions chart/backstage/templates/backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ spec:
secretKeyRef:
name: backstage-secrets
key: GITHUB_TOKEN
- name: GITHUB_CLIENT_ID
valueFrom:
secretKeyRef:
name: backstage-secrets
key: GITHUB_CLIENT_ID
- name: GITHUB_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: backstage-secrets
key: GITHUB_CLIENT_SECRET
{{- with .Values.backend.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
Binary file removed packages/backend/app.sqlite
Binary file not shown.
Binary file removed packages/backend/auth.sqlite
Binary file not shown.
Binary file removed packages/backend/catalog.sqlite
Binary file not shown.
Binary file removed packages/backend/scaffolder.sqlite
Binary file not shown.
Binary file removed packages/backend/search.sqlite
Binary file not shown.

0 comments on commit 6dcde22

Please sign in to comment.