| commit | f986764d64410ffe802b7c5dbbf41bca6f6468ef | [log] [tgz] |
|---|---|---|
| author | garciadeblas <gerardo.garciadeblas@telefonica.com> | Tue Sep 09 13:07:50 2025 +0200 |
| committer | garciadeblas <gerardo.garciadeblas@telefonica.com> | Tue Sep 09 14:03:21 2025 +0200 |
| tree | e3d3d2da021022ffb443d8912604077aedb045e1 | |
| parent | fc924e4f4fb1f196e608d5815f36282ab99f652a [diff] |
Support configurable ingress class name for OSM ingress resources Change-Id: If0cca9e796b5a85980bfb9c60a1e5c0755240b3e Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/installers/minio/00-base-config.rc b/installers/minio/00-base-config.rc index e4cf1d6..0d59f1b 100644 --- a/installers/minio/00-base-config.rc +++ b/installers/minio/00-base-config.rc
@@ -36,3 +36,6 @@ # Expose with Ingress export MINIO_EXPOSE_CONSOLE=true export MINIO_EXPOSE_TENANT=true + +# Ingress classname +export MINIO_INGRESS_CLASSNAME=${AUX_CLUSTER_INGRESS_CLASS:-nginx}
diff --git a/installers/minio/ingress-manifests/console/ingress-console.yaml b/installers/minio/ingress-manifests/console/ingress-console.yaml index 5d3301e..f52090f 100644 --- a/installers/minio/ingress-manifests/console/ingress-console.yaml +++ b/installers/minio/ingress-manifests/console/ingress-console.yaml
@@ -21,7 +21,7 @@ name: minio-console-ingress namespace: minio-operator spec: - ingressClassName: nginx + ingressClassName: ${MINIO_INGRESS_CLASSNAME} rules: - host: ${MINIO_INGRESS_CONSOLE_HOST} http:
diff --git a/installers/minio/ingress-manifests/tenant/ingress-tenant.yaml b/installers/minio/ingress-manifests/tenant/ingress-tenant.yaml index bd1be7e..44a7823 100644 --- a/installers/minio/ingress-manifests/tenant/ingress-tenant.yaml +++ b/installers/minio/ingress-manifests/tenant/ingress-tenant.yaml
@@ -27,7 +27,7 @@ nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/proxy-body-size: "0" spec: - ingressClassName: nginx + ingressClassName: ${MINIO_INGRESS_CLASSNAME} tls: - hosts: - ${MINIO_INGRESS_TENANT_HOST}