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

fix(grafana): use relative dashboard path #874

Merged

Conversation

andrewazores
Copy link
Member

Welcome to Cryostat! 👋

Before contributing, make sure you have:

  • Read the contributing guidelines
  • Linked a relevant issue which this PR resolves
  • Linked any other relevant issues, PR's, or documentation, if any
  • Resolved all conflicts, if any
  • Rebased your branch PR on top of the latest upstream main branch
  • Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
  • Signed all commits: git commit -S -m "YOUR_COMMIT_MESSAGE"

Related to #726

Description of the change:

Sets the GRAFANA_DASHBOARD_EXT_URL to the simple relative /grafana/ path, rather than the full Route URL.

Motivation for the change:

Since Grafana and Cryostat are now deployed together behind a common auth proxy instance, the client accesses Grafana simply by navigating to /grafana/ on the Cryostat UI URL. This change simplifies the setup so that there are now no more references to the full Route URL in the Deployment, so it is overall more dynamic and flexible. This will support cases where the user wishes to deploy Cryostat on a custom domain or custom subpath.

@andrewazores
Copy link
Member Author

/build_test

Copy link

github-actions bot commented Jun 7, 2024

/build_test : At least one test failed ❌.
View Actions Run.

@andrewazores andrewazores force-pushed the relative-dashboard-ext-url branch from f313a39 to 8a668b1 Compare June 7, 2024 18:46
@andrewazores
Copy link
Member Author

/build_test

Copy link

github-actions bot commented Jun 7, 2024

/build_test completed successfully ✅.
View Actions Run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants