Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable backstage login with keycloak in github codespaces #652

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
26a7b67
enable backstage login with keycloak in github codespaces
jkleinlercher Sep 26, 2024
41a0c5f
fix multiline and path to keycloak-codespaces.yaml
jkleinlercher Sep 26, 2024
3ed61e5
fix naming to a lowercase RFC 1123 subdomain
jkleinlercher Sep 26, 2024
e9b9fa8
add keycloak in forwarded ports
jkleinlercher Sep 26, 2024
ff3d74d
add keycloak user for codespaces
jkleinlercher Sep 26, 2024
a703f7f
add keycloak users and groups
jkleinlercher Sep 26, 2024
bc98e67
add secret for password
jkleinlercher Sep 27, 2024
a89e0bc
Merge branch 'main' into feat/keycloak-backstage-codespaces
jkleinlercher Sep 29, 2024
1b1f808
add backstage
jkleinlercher Sep 29, 2024
2c64b4f
add keycloak
jkleinlercher Sep 29, 2024
acd9c19
Update devcontainer.json
jkleinlercher Sep 29, 2024
09adfca
install keycloak and backstage everytime
jkleinlercher Sep 29, 2024
23ba174
delete argocd to have a clean git repo
jkleinlercher Sep 29, 2024
a6bb801
change crossplane resources to avoid conflicts with existing onces
jkleinlercher Sep 29, 2024
0ea46fc
naming
jkleinlercher Sep 29, 2024
9d29b21
added some missing keycloak resources for codespaces
jkleinlercher Sep 29, 2024
181a301
Merge branch 'main' into feat/keycloak-backstage-codespaces
jkleinlercher Sep 30, 2024
0abcff4
troubleshooting: remove additional keycloak resources
jkleinlercher Sep 30, 2024
d105f89
fix some crossplane resources and enable apply in codespace again
jkleinlercher Sep 30, 2024
8a4b186
add groups
jkleinlercher Sep 30, 2024
6799b30
overwrite catalog provider for codespaces
jkleinlercher Sep 30, 2024
3cd09d9
troubleshooting: use new realm in values
jkleinlercher Sep 30, 2024
6e0e050
Merge branch 'main' into feat/keycloak-backstage-codespaces
jkleinlercher Oct 3, 2024
19d6871
Merge branch 'main' into feat/keycloak-backstage-codespaces
jkleinlercher Oct 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions platform-apps/charts/backstage/values-k3d.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ backstage:
# host: 127.0.0.1
csp:
connect-src: ["'self'", 'http:', 'https:']
frame-src: ['*.nip.io']
frame-src: ['*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}']
# Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
# Default Helmet Content-Security-Policy values can be removed by setting the key to false
cors:
Expand Down Expand Up @@ -226,9 +226,9 @@ backstage:
#baseUrl: https://keycloak-127-0-0-1.nip.io
# workaround
baseUrl: http://keycloak-service.keycloak.svc.cluster.local:8080
loginRealm: sx-cnp-oss
realm: sx-cnp-oss
clientId: backstage
loginRealm: sx-cnp-oss-codespaces
realm: sx-cnp-oss-codespaces
clientId: backstage-codespaces
clientSecret: 'demosecret'
schedule: # Mandatory; same options as in TaskScheduleDefinition
# supports cron, ISO duration, "human duration" as used in code
Expand Down