Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: squash
-
Labels:None
-
Story Points:2.8
-
Epic Link:
-
Team:SQuaRE
Description
The current deployment of the Chronograf UI is still a demo (in the sense that we need to complete DM-18060 work).
However, to avoid confusion and direct (new) users to the Chronograf UI we decided to redirect https://squash.lsst.codes to http://chronograf-demo.lsst.codes.
I've tested the redirect with the https://chronograf-test.lsst.codes deployment.
We need to point squash.lsst.codes to the desired Loadbalancer Ingress IP, configure a new ingress rule to route squash.lsst.codes to the chronograph k8s service and add the following annotation that rewrites the URL to https://chronograf-test.lsst.codes.
nginx.ingress.kubernetes.io/configuration-snippet: |
if ($host = 'squash.lsst.codes' ) \{
rewrite ^ https://chronograf-test.lsst.codes$request_uri permanent;
}
This way, squash.lsst.codes acts as an alias while we keep the current deployment elsewhere.