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

Conversation

jkleinlercher
Copy link
Contributor

@jkleinlercher jkleinlercher commented Sep 26, 2024

should fix #651

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 22:06:29.418105373 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 22:06:05.564980155 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 22:06:29.418105373 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 22:06:05.564980155 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 22:30:09.546867208 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 22:29:46.090749296 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 22:30:09.546867208 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 22:29:46.090749296 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 23:18:03.039457618 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 23:17:40.582125452 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 23:18:03.039457618 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 23:17:40.582125452 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Signed-off-by: Johannes Kleinlercher <[email protected]>
Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 23:37:47.888561300 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 23:37:23.061513695 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 23:37:47.888561300 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 23:37:23.061513695 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Signed-off-by: Johannes Kleinlercher <[email protected]>
Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 23:44:43.576670478 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 23:44:18.429473378 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 23:44:43.577670486 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 23:44:18.429473378 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Signed-off-by: Johannes Kleinlercher <[email protected]>
Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 23:53:34.109723758 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-26 23:53:09.359410631 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 23:53:34.110723771 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-26 23:53:09.359410631 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Signed-off-by: Johannes Kleinlercher <[email protected]>
Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-27 00:23:17.398947274 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-27 00:22:46.716976045 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-27 00:23:17.398947274 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-27 00:22:46.716976045 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-29 05:59:19.183056791 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-29 05:58:49.294892689 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-29 05:59:19.183056791 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-29 05:58:49.295892694 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-29 17:00:26.853634182 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-29 17:00:03.511752355 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-29 17:00:26.854634177 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-29 17:00:03.511752355 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-29 17:01:48.165742544 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-29 17:01:24.401423467 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-29 17:01:48.165742544 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-29 17:01:24.401423467 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-29 22:43:51.003005950 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-29 22:43:27.253919564 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-29 22:43:51.003005950 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-29 22:43:27.253919564 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 09:03:33.687134352 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 09:03:05.139456569 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 09:03:33.687134352 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 09:03:05.139456569 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 09:07:23.528718043 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 09:06:59.958606020 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 09:07:23.528718043 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 09:06:59.958606020 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 10:23:35.518108082 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 10:23:07.048132374 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 10:23:35.518108082 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 10:23:07.049132374 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 11:44:49.721897700 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 11:44:24.805010959 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 11:44:49.721897700 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 11:44:24.805010959 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 13:47:38.296753937 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 13:47:15.032493076 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 13:47:38.296753937 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 13:47:15.032493076 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: f52dd0d8fe922fac9463e600f213fbefd8a73015d03e6d8222fa1b51405b3dd8
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 14:32:26.756980787 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-09-30 14:32:02.570795916 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
@@ -94,12 +94,12 @@
       providers:
         keycloakOrg:
           default:
             baseUrl: http://keycloak-service.keycloak.svc.cluster.local:8080
-            clientId: backstage
+            clientId: backstage-codespaces
             clientSecret: demosecret
-            loginRealm: sx-cnp-oss
-            realm: sx-cnp-oss
+            loginRealm: sx-cnp-oss-codespaces
+            realm: sx-cnp-oss-codespaces
             schedule:
               frequency:
                 minutes: 30
               initialDelay:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 14:32:26.756980787 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-09-30 14:32:02.570795916 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: 24188dc43d0f2ef2668647e7afbeb5d31cbf1facf052bc534cf6b13cfe07020a
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Copy link
Contributor

github-actions bot commented Oct 3, 2024

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-10-03 18:31:20.920546860 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-10-03 18:30:50.957544507 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
@@ -94,12 +94,12 @@
       providers:
         keycloakOrg:
           default:
             baseUrl: http://keycloak-service.keycloak.svc.cluster.local:8080
-            clientId: backstage
+            clientId: backstage-codespaces
             clientSecret: demosecret
-            loginRealm: sx-cnp-oss
-            realm: sx-cnp-oss
+            loginRealm: sx-cnp-oss-codespaces
+            realm: sx-cnp-oss-codespaces
             schedule:
               frequency:
                 minutes: 30
               initialDelay:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-10-03 18:31:20.921546859 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-10-03 18:30:50.957544507 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: 24188dc43d0f2ef2668647e7afbeb5d31cbf1facf052bc534cf6b13cfe07020a
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

github-actions bot commented Oct 3, 2024

Changes Default Values

Copy link

gitguardian bot commented Oct 26, 2024

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
11742804 Triggered Generic High Entropy Secret 19d6871 platform-apps/charts/backstage/templates/secret.yaml View secret
14178891 Triggered Generic High Entropy Secret 19d6871 platform-apps/charts/backstage/templates/secret.yaml View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Copy link
Contributor

Changes Rendered Chart
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-10-26 14:22:06.947904300 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/app-config-configmap.yaml	2024-10-26 14:21:40.404006570 +0000
@@ -68,9 +68,9 @@
         - '''self'''
         - 'http:'
         - 'https:'
         frame-src:
-        - '*.nip.io'
+        - '*.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN:-nip.io}'
       database:
         client: better-sqlite3
         connection: ':memory:'
       listen:
@@ -94,12 +94,12 @@
       providers:
         keycloakOrg:
           default:
             baseUrl: http://keycloak-service.keycloak.svc.cluster.local:8080
-            clientId: backstage
+            clientId: backstage-codespaces
             clientSecret: demosecret
-            loginRealm: sx-cnp-oss
-            realm: sx-cnp-oss
+            loginRealm: sx-cnp-oss-codespaces
+            realm: sx-cnp-oss-codespaces
             schedule:
               frequency:
                 minutes: 30
               initialDelay:
diff -U 4 -r out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml
--- out/target/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-10-26 14:22:06.947904300 +0000
+++ out/pr/backstage/values-k3d.yaml/sx-backstage/charts/backstage/templates/backstage-deployment.yaml	2024-10-26 14:21:40.408006564 +0000
@@ -28,9 +28,9 @@
         app.kubernetes.io/instance: release-name
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: backstage
       annotations:
-        checksum/app-config: 1367a0655a4cda647303a8c19e265ccab55f73a6312b06ecf47ce9067317557d
+        checksum/app-config: 24188dc43d0f2ef2668647e7afbeb5d31cbf1facf052bc534cf6b13cfe07020a
     spec:
       serviceAccountName: default
       volumes:
         - name: backstage-app-config

Copy link
Contributor

Changes Default Values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[codespace] backstage/keycloak login in codespace
1 participant