Skip to content

Commit

Permalink
ui: Configure navbar so that it displays documentation, plateform and…
Browse files Browse the repository at this point in the history
… alert menu items
  • Loading branch information
JBWatenbergScality committed Mar 9, 2021
1 parent d46885d commit d870add
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions salt/metalk8s/addons/ui/deployed/ui.sls.in
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@ Create shell-ui ConfigMap:
"clientId": "metalk8s-ui",
"responseType": "id_token",
"scopes": "openid profile email groups offline_access audience:server:client_id:oidc-auth-client"
},
"options": {
"main": {
"https://{{ ingress_control_plane }}/":{ "en": "Platform", "fr": "Plateforme" },
"https://{{ ingress_control_plane }}/alerts":{ "en": "Alerts", "fr": "Alertes" }
},
"subLogin": {
"https://{{ ingress_control_plane }}/docs":{ "en": "Documentation", "fr": "Documentation" }
}
}
}

Expand Down
9 changes: 9 additions & 0 deletions ui/cypress/fixtures/shell-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
"clientId": "metalk8s-ui",
"responseType": "id_token",
"scopes": "openid profile email groups offline_access audience:server:client_id:oidc-auth-client"
},
"options": {
"main": {
"https://mocked.ingress/":{ "en": "Platform", "fr": "Plateforme" },
"https://mocked.ingress/alerts":{ "en": "Alerts", "fr": "Alertes" }
},
"subLogin": {
"https://mocked.ingress/docs":{ "en": "Documentation", "fr": "Documentation" }
}
}
}

0 comments on commit d870add

Please sign in to comment.