diff --git a/convertx/k8s/ingress.yaml b/convertx/k8s/ingress.yaml index 92d2491..a1890d5 100644 --- a/convertx/k8s/ingress.yaml +++ b/convertx/k8s/ingress.yaml @@ -9,6 +9,7 @@ spec: routes: - match: HostRegexp(`^forust\.xyz$`) && PathPrefix(`/convert`) kind: Rule + priority: 50 services: - name: convertx-service port: 3000 @@ -26,7 +27,7 @@ spec: routes: - match: HostRegexp(`^(workstation|gigaforust)\.internal$`) && PathPrefix(`/convert`) kind: Rule + priority: 50 services: - name: convertx-service port: 3000 - diff --git a/glance/k8s/ingress.yaml b/glance/k8s/ingress.yaml index defaecc..af02c29 100644 --- a/glance/k8s/ingress.yaml +++ b/glance/k8s/ingress.yaml @@ -7,10 +7,10 @@ spec: entryPoints: - websecure routes: - - match: HostRegexp(`^forust\.xyz$`) + - match: HostRegexp(`^forust\.xyz$`) && PathPrefix(`/glance`) kind: Rule middlewares: - - name: glance-strupprefix + - name: glance-stripprefix services: - name: glance-service port: 8080 @@ -26,10 +26,8 @@ spec: entryPoints: - websecure routes: - - match: HostRegexp(`^glance\.(workstation|gigaforust)\.internal$`) + - match: HostRegexp(`^glance\.(workstation|gigaforust)\.internal$`) && PathPrefix(`/glance`) kind: Rule services: - name: glance-service port: 8080 - -