You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Within the repo context, install project dependencies
25
-
```bash
26
-
cd odh-dashboard && npm install
27
-
```
25
+
```bash
26
+
cd odh-dashboard && npm install
27
+
```
28
28
29
29
### Build project
30
30
@@ -34,7 +34,7 @@ npm run build
34
34
35
35
### Serve development content
36
36
37
-
This is the default context for running a local UI. Make sure you build the project using the instructions above prior to running the command below.
37
+
This is the default context for running a local UI. Make sure you build the project using the instructions above prior to running the command below.
38
38
39
39
> Note: You must be logged-in with `oc` before you can start the backend. Details for that are in the the [contribution guidelines](../CONTRIBUTING.md#give-your-dev-env-access).
40
40
@@ -52,9 +52,9 @@ For in-depth local run guidance review the [contribution guidelines](../CONTRIBU
52
52
53
53
Run the tests.
54
54
55
-
```bash
56
-
npm run test
57
-
```
55
+
```bash
56
+
npm run test
57
+
```
58
58
59
59
For in-depth testing guidance review the [testing guidelines](./testing.md)
60
60
@@ -64,13 +64,26 @@ Feature flags are defined in the [dashboard config](./dashboard-config.md#featur
64
64
65
65
With the dev feature flags modal opened, the browser URL will update to include the current feature flag enablement settings. The URL can then be bookmarked or shared.
66
66
67
+
### Configuring Custom Console Link Domain (CONSOLE_LINK_DOMAIN)
68
+
69
+
Certain environments require custom access configurations for the OpenShift console and Prometheus endpoints because they may not have access to internal services. To support these configurations, the CONSOLE_LINK_DOMAIN environment variable allows developers to specify a custom domain to override default calculations.
70
+
71
+
Steps to Configure:
72
+
73
+
1. Open the root `.env.local` file (or create it if it doesn't exist).
74
+
2. Add the following line to define the custom console domain:
Replace your-custom-domain.com with the specific domain for your OpenShift console
79
+
67
80
## Deploying the ODH Dashbard
68
81
69
82
### Official Image Builds
70
83
71
84
odh-dashboard images are automatically built and pushed to [quay.io](https://quay.io/repository/opendatahub/odh-dashboard) after every commit to the `main` branch. The image tag name format for each image is `main-<COMMIT SHORT HASH>`.
72
85
73
-
Example: The `main` branch is updated with commit `f76e3952834f453b1d085e8627f9c17297c2f64c`. The CI system will automatically build an odh-dashboard image based on that code and push the new image to `odh-dashboard:main-f76e395` and updated `odh-dashboard:main` to point to the same image hash.
86
+
Example: The `main` branch is updated with commit `f76e3952834f453b1d085e8627f9c17297c2f64c`. The CI system will automatically build an odh-dashboard image based on that code and push the new image to `odh-dashboard:main-f76e395` and updated `odh-dashboard:main` to point to the same image hash.
74
87
75
88
The [nightly](https://quay.io/opendatahub/odh-dashboard:nightly) tag is a floating tag that is updated nightly and points to the most recent `main-<HASH>` commit from the previous day.
0 commit comments