From 8d343a8f8f49a13e7f4aecb0b149d9c7046eddb1 Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Wed, 29 Nov 2023 16:57:06 +0100 Subject: [PATCH] BC-5801 - Ingress class configurable (#4593) --- .../schulcloud-server-core/templates/api-files-ingress.yml.j2 | 2 +- ansible/roles/schulcloud-server-core/templates/ingress.yml.j2 | 2 +- .../schulcloud-server-core/templates/tldraw-ingress.yml.j2 | 2 +- .../schulcloud-server-h5p/templates/api-h5p-ingress.yml.j2 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/roles/schulcloud-server-core/templates/api-files-ingress.yml.j2 b/ansible/roles/schulcloud-server-core/templates/api-files-ingress.yml.j2 index a1264b52001..3eabd5d2659 100644 --- a/ansible/roles/schulcloud-server-core/templates/api-files-ingress.yml.j2 +++ b/ansible/roles/schulcloud-server-core/templates/api-files-ingress.yml.j2 @@ -19,7 +19,7 @@ metadata: {% endif %} spec: - ingressClassName: nginx + ingressClassName: {{ INGRESS_CLASS }} {% if CLUSTER_ISSUER is defined or (TLS_ENABELD is defined and TLS_ENABELD|bool) %} tls: - hosts: diff --git a/ansible/roles/schulcloud-server-core/templates/ingress.yml.j2 b/ansible/roles/schulcloud-server-core/templates/ingress.yml.j2 index b2dd208765f..86588e74b47 100644 --- a/ansible/roles/schulcloud-server-core/templates/ingress.yml.j2 +++ b/ansible/roles/schulcloud-server-core/templates/ingress.yml.j2 @@ -19,7 +19,7 @@ metadata: {% endif %} spec: - ingressClassName: nginx + ingressClassName: {{ INGRESS_CLASS }} {% if CLUSTER_ISSUER is defined or (TLS_ENABELD is defined and TLS_ENABELD|bool) %} tls: - hosts: diff --git a/ansible/roles/schulcloud-server-core/templates/tldraw-ingress.yml.j2 b/ansible/roles/schulcloud-server-core/templates/tldraw-ingress.yml.j2 index e80028a5985..37b476e0834 100644 --- a/ansible/roles/schulcloud-server-core/templates/tldraw-ingress.yml.j2 +++ b/ansible/roles/schulcloud-server-core/templates/tldraw-ingress.yml.j2 @@ -20,7 +20,7 @@ metadata: {% endif %} spec: - ingressClassName: nginx + ingressClassName: {{ INGRESS_CLASS }} {% if CLUSTER_ISSUER is defined or (TLS_ENABELD is defined and TLS_ENABELD|bool) %} tls: - hosts: diff --git a/ansible/roles/schulcloud-server-h5p/templates/api-h5p-ingress.yml.j2 b/ansible/roles/schulcloud-server-h5p/templates/api-h5p-ingress.yml.j2 index ec68641bfa2..c3359d63b5f 100644 --- a/ansible/roles/schulcloud-server-h5p/templates/api-h5p-ingress.yml.j2 +++ b/ansible/roles/schulcloud-server-h5p/templates/api-h5p-ingress.yml.j2 @@ -19,7 +19,7 @@ metadata: {% endif %} spec: - ingressClassName: nginx + ingressClassName: {{ INGRESS_CLASS }} {% if CLUSTER_ISSUER is defined or (TLS_ENABELD is defined and TLS_ENABELD|bool) %} tls: - hosts: