apps(minio): Fix ingressroute

main
trivernis 11 months ago
parent ad1770615e
commit 78cc1d4f6f
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -7,4 +7,5 @@ resources:
- app/00_namespace.yaml
- app/10_sealedsecret.yaml
- app/20_release.yaml
- app/30_route.yaml
- app/30_middleware.yaml
- app/40_route.yaml

@ -0,0 +1,9 @@
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: stripprefix-ui
namespace: minio
spec:
stripPrefix:
prefixes:
- /minio/ui

@ -7,6 +7,15 @@ spec:
entryPoints:
- web
routes:
- match: Host(`minio.trivernis.dev`, `minio.trivernis.net`) && PathPrefix(`/minio/ui`)
kind: Rule
middlewares:
- name: strict-security-headers
namespace: default
- name: stripprefix-ui
services:
- name: minio
port: minio-console
- match: Host(`minio.trivernis.dev`, `minio.trivernis.net`)
kind: Rule
middlewares:
@ -14,4 +23,4 @@ spec:
namespace: default
services:
- name: minio
port: http
port: minio-api
Loading…
Cancel
Save