-
Notifications
You must be signed in to change notification settings - Fork 214
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
static content is not loaded when using nginx-ingress with custom base path #132
Comments
Thanks for the report! This was fixed in To serve the dashboard on a base path like #136 will add this as an option to the helm chart. You can also alter the file at Hope that helps! Let me know if you have any trouble. |
Does not seem to work unfortunately. adding |
@troian - sorry, I missed your follow-up message. I've reopened this issue for now. When I set up an Ingress similar to yours using nginx-ingress (config below), combined with the We have an open PR that would mount the router on the path provided in Here's my Ingress, which works as expected: apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: example.com-polaris
namespace: polaris
annotations:
kubernetes.io/ingress.class: "nginx-ingress"
certmanager.k8s.io/cluster-issuer: "letsencrypt-prod"
certmanager.k8s.io/acme-challenge-type: dns01
certmanager.k8s.io/acme-dns01-provider: route53
kubernetes.io/ingress.ssl-redirect: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/rewrite-target: "/$1"
nginx.ingress.kubernetes.io/configuration-snippet: |
rewrite ^(/polaris)$ $1/ permanent;
spec:
tls:
- hosts:
- polaris.example.com
secretName: polaris-cert
rules:
- host: polaris.example.com
http:
paths:
- path: /polaris/?(.*)
backend:
serviceName: polaris-dashboard
servicePort: 8080 |
I believe this is fixed now - feel free to reopen if not |
Hi, Can you show where you set this parameter --dashboard-base-path ? I install by applying the yaml file. Thank you |
With helm just remember the ending
|
We would like to get polaris dashboard accessible from subpath of our domain (e.g.
https://example.com/polaris
)Issue is static content is not loaded as deployment expects them without
polaris
path.The text was updated successfully, but these errors were encountered: