diff --git a/minio/helm-values.yaml b/minio/helm-values.yaml index c4076fc..4baf03f 100644 --- a/minio/helm-values.yaml +++ b/minio/helm-values.yaml @@ -53,10 +53,20 @@ environment: MINIO_BROWSER_REDIRECT_URL: "https://minio.minio0213.kro.kr" MINIO_PROMETHEUS_AUTH_TYPE: "public" -# Ingress disabled (managed separately) +# API Ingress (S3 endpoint) ingress: - enabled: false + enabled: true + ingressClassName: traefik + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod + hosts: + - s3.minio0213.kro.kr + tls: + - secretName: minio-api-tls + hosts: + - s3.minio0213.kro.kr +# Console Ingress disabled (using custom console-deployment in manifests/) consoleIngress: enabled: false diff --git a/minio/kustomization.yaml b/minio/kustomization.yaml index 30ff5bc..474e16f 100644 --- a/minio/kustomization.yaml +++ b/minio/kustomization.yaml @@ -1,8 +1,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: -- storage-class.yaml -- persistent-volumes.yaml - vault/minio-root-password.yaml -- ingress.yaml -- console-deployment.yaml +- manifests/storage-class.yaml +- manifests/persistent-volumes.yaml +- manifests/console-deployment.yaml +- manifests/console-ingress.yaml diff --git a/minio/console-deployment.yaml b/minio/manifests/console-deployment.yaml similarity index 100% rename from minio/console-deployment.yaml rename to minio/manifests/console-deployment.yaml diff --git a/minio/ingress.yaml b/minio/manifests/console-ingress.yaml similarity index 60% rename from minio/ingress.yaml rename to minio/manifests/console-ingress.yaml index cf05425..9e2010a 100644 --- a/minio/ingress.yaml +++ b/minio/manifests/console-ingress.yaml @@ -1,30 +1,5 @@ apiVersion: networking.k8s.io/v1 kind: Ingress -metadata: - name: minio-api - namespace: minio - annotations: - cert-manager.io/cluster-issuer: letsencrypt-prod -spec: - ingressClassName: traefik - tls: - - hosts: - - s3.minio0213.kro.kr - secretName: minio-api-tls - rules: - - host: s3.minio0213.kro.kr - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: minio - port: - number: 9000 ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress metadata: name: minio-console namespace: minio diff --git a/minio/persistent-volumes.yaml b/minio/manifests/persistent-volumes.yaml similarity index 100% rename from minio/persistent-volumes.yaml rename to minio/manifests/persistent-volumes.yaml diff --git a/minio/storage-class.yaml b/minio/manifests/storage-class.yaml similarity index 100% rename from minio/storage-class.yaml rename to minio/manifests/storage-class.yaml