Skip to content

Commit a6dcea0

Browse files
committed
Merge branch 'feature/bump-oidc-library' into q/128.0
2 parents b410c2f + 9518210 commit a6dcea0

File tree

20 files changed

+19530
-14975
lines changed

20 files changed

+19530
-14975
lines changed

.github/workflows/single-node-test.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
source product.txt
101101
echo "METALK8S_VERSION=$VERSION" >> $GITHUB_ENV
102102
103-
## Spawn {{{
103+
## Spawn {{{
104104
- name: Export environment variables for accessing the cloud
105105
uses: ./.github/actions/export-cloud-env
106106
with:
@@ -240,6 +240,16 @@ jobs:
240240
uses: ./.github/actions/bastion-ui-tests
241241
# }}}
242242

243+
- name: Collect UI tests videos
244+
if: always()
245+
continue-on-error: true
246+
run: |
247+
export DEST_DIR="artifacts/ui-e2e-tests/${{ github.job }}"
248+
mkdir -p ${DEST_DIR}
249+
scp -F ssh_config \
250+
"bastion:/home/centos/metalk8s/ui/cypress/videos/e2e/*" \
251+
"${DEST_DIR}/"
252+
243253
- name: Generate and Collect sosreport
244254
if: always()
245255
uses: ./.github/actions/sosreport-logs

docs/developer/running/ui.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This will allow you to register localhost:8084 as a valid authentication
3939
redirectURIs:
4040
- https://<bootstrap_control_plane_ip>:8443/
4141
- http://localhost:8084/
42-
secret: ybrMJpVMQxsiZw26MhJzCjA2ut
42+
public: true
4343
4444
You can retrieve the ``bootstrap_control_plane_ip`` by running:
4545

salt/metalk8s/addons/dex/config/dex.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ spec:
7777
name: MetalK8s UI
7878
redirectURIs:
7979
- {{ control_plane_ingress_ep }}/{{ metalk8s_ui_config.spec.basePath.lstrip('/') }}
80-
secret: ybrMJpVMQxsiZw26MhJzCjA2ut
80+
public: true
8181
- id: grafana-ui
8282
name: Grafana UI
8383
redirectURIs:

salt/metalk8s/addons/ui/config/metalk8s-shell-ui-config.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
providerUrl: "/oidc"
2424
redirectUrl: "{{ salt.metalk8s_network.get_control_plane_ingress_endpoint() }}/{{ metalk8s_ui_config.spec.basePath.lstrip('/') }}"
2525
clientId: "metalk8s-ui"
26-
responseType: "id_token"
26+
responseType: "code"
2727
scopes: "openid profile email groups offline_access audience:server:client_id:oidc-auth-client"
2828
userGroupsMapping:
2929
{%- for user in dex.spec.config.staticPasswords | map(attribute='email') %}

salt/metalk8s/addons/ui/config/metalk8s-ui-config.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
providerUrl: "/oidc"
2424
redirectUrl: "{{ salt.metalk8s_network.get_control_plane_ingress_endpoint() }}/"
2525
clientId: "metalk8s-ui"
26-
responseType: "id_token"
26+
responseType: "code"
2727
scopes: "openid profile email groups offline_access audience:server:client_id:oidc-auth-client"
2828
{%- endif %}
2929

shell-ui/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ module.exports = {
77
moduleNameMapper: {
88
'\\.(css|less)$': 'identity-obj-proxy',
99
},
10+
testEnvironment: 'jsdom',
1011
};

0 commit comments

Comments
 (0)