Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Console under subpath (traefik) #3420

Open
@ahuarte47

Description

I'm trying to use TRAEFIK as a reverse proxy for Minio console (Tenant) adding the subpath "miniodef".

This is my manifest to define the ingress resource:

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
 name: minio-tenant-miniodef-server-ingressroute
 namespace: minio-tenant-miniodef
 annotations:
 ingress.kubernetes.io/rewrite-target: /
 ingress.kubernetes.io/protocol: https # Traefik
spec:
 entryPoints:
 - websecure
 routes:
 - kind: Rule
 match: PathPrefix(`/miniodef/`)
 priority: 10
 services:
 - name: miniodef-console
 port: 9443
 tls: {}

Expected Behavior

https://localhost:9121/miniodef/ should show the console UI

Current Behavior

https://localhost:9121/miniodef/ shows blank page because of urls of console files do not have the subpath:
image

for example:
https://localhost:9121/styles/root-styles.css
should be:
https://localhost:9121/miniodef/styles/root-styles.css

Possible Solution

Should I set MINIO_SERVER_URL, MINIO_BROWSER_REDIRECT_URL or OPERATOR_SUBPATH environment variables in the custom tenant values.yaml.

Your Environment

  • MinIO version used (minio --version): 6.0.1 Operator + Tenant
  • Server setup and configuration: MinIO Operator + Tenant using Helm 6.0.1 in minikube
  • Operating System and version (uname -a): Ubuntu Linux 20.04

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /