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: