apps(minio): Move ui to different subdomain

main
trivernis 11 months ago
parent 49518ff628
commit 66cf1be1d5
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

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

@ -32,7 +32,7 @@ spec:
prometheus.io/port: "9000" prometheus.io/port: "9000"
extraEnvVars: extraEnvVars:
- name: MINIO_BROWSER_REDIRECT_URL - name: MINIO_BROWSER_REDIRECT_URL
value: https://minio.trivernis.dev/minio/ui value: https://minio-ui.trivernis.dev
- name: MINIO_SERVER_URL - name: MINIO_SERVER_URL
value: https://minio.trivernis.dev value: https://minio.trivernis.dev

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

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