reshifter icon indicating copy to clipboard operation
reshifter copied to clipboard

UI not rendering correctly

Open davidjbrewer opened this issue 7 years ago • 4 comments

As can be seen, there is a double slash in the UI code for the stylesheets.

This renders fine when run as a standalone Docker container, but when placed behind an Ingress Controller, the pages do not render properly. Note: In the image provided, the certificate is shown as invalid only because the Let's Encrypt server is the staging server and not PROD.

This has been tested on a Kubernetes 1.5.2 cluster, but it is expected to be the same for a pending Kubernetes 1.6.4 cluster implementation.

Deployed to K8s, using the following image:

Containers
reshifter-app
Image:
quay.io/mhausenblas/reshifter:0.3.9
Environment variables:
ACCESS_KEY_ID
: 
Q3AM3UQ867SPQQA43P2F
SECRET_ACCESS_KEY
: 
zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3T
Commands:
-
Args:
-

The Ingress config:

[centos@master deployments]$ cat reshifter-ingress.yaml 
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: reshifter-ingress
  namespace: kube-system
  annotations:
    kubernetes.io/ingress.class: "traefik"
    ingress.kubernetes.io/ssl-redirect: true
spec:
  rules:
    - host: reshifter.eupraxialabs.com
      http:
        paths:
          - path: 
            backend:
              serviceName: reshifter
              servicePort: 8080

cssnotappliedbehindingrescontroller

davidjbrewer avatar Jul 14 '17 13:07 davidjbrewer

Thanks a lot for reporting this! Let's discuss today, if possible?

mhausenblas avatar Jul 14 '17 15:07 mhausenblas

After our discussion last week @davidjbrewer did you plan to send in a PR for it, otherwise I'll address it this weekend. See also #7 …

mhausenblas avatar Jul 22 '17 17:07 mhausenblas

I have only been looking at cluster artifacts, beside etcd, to backup and restore.

I did not fork your code to do any changes to the UI, as identified in this issue. Did you want me to tackle that bug and submit a pull request (PR)?

davidjbrewer avatar Jul 24 '17 16:07 davidjbrewer

I did not fork your code to do any changes to the UI, as identified in this issue. Did you want me to tackle that bug and submit a pull request (PR)?

Oh if you have the resources at hand, yes please @davidjbrewer!

mhausenblas avatar Jul 24 '17 16:07 mhausenblas