0

I am trying to set the minio behind the kong ingress controller with https enabled. Here the TLS communication will be terminated in kong

The routing url which I have set /storage

I have set the below values in values.yaml

        Variables:
         -  env:
            - name: MINIO_LOG_LEVEL
              value: DEBUG
            - name: MINO_SERVER_URL
               value: https://domain:30007/storage
            - name: MINIO_BROWSER_REDIRECT_URL
              value: https://domain:30007/storage

minio-ingress.yaml:

           `        apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: minio-ingress
  labels:
    app.kubernetes.io/instance: kong
    app.kubernetes.io/managed-by: Helm
  annotations:
    konghq.com/strip-path: "true"
    kubernetes.io/ingress.class: "kong"
spec:
  ingressClassName: kong
  tls:
  - hosts:
      - freshxcom.mt.mtnet
    secretName: kong
  rules:
  - host: freshxcom.mt.mtnet
    http:
      paths:
      - path: /storage
        pathType: Prefix
        backend:
          service:
            name: minio-test
            port:
              number: 9001`

When we login into console and check the presigned url for a file, its still pointing to [http//localhost:9000/test/22.log] which should be https://domain:30007/storage/test/22.log. enter image description here image The server url is pointing to localhost enter image description here

bharathi
  • 101

0 Answers0