[Vuejs]-Vue.js running in kubernetes: Unable to load css and js resources. Getting 404

0👍

I was able to find the root cause. In ingress instead of

  - backend:
        service:
            name: vue-portal-service
            port:
              number: 80            
    path: /
    pathType: ImplementationSpecific

I have put /* in path:

  - backend:
        service:
            name: vue-portal-service
            port:
              number: 80            
    path: /*
    pathType: ImplementationSpecific

And everything start to work as expected.

Leave a comment