From 09ff41f00e6dc245a0661159c9ecdb76afc76322 Mon Sep 17 00:00:00 2001 From: Phillip Date: Mon, 23 Oct 2023 15:31:23 +0200 Subject: [PATCH] Update ansible/roles/schulcloud-server-init/templates/configmap_file_init.yml.j2 Co-authored-by: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> --- .../schulcloud-server-init/templates/configmap_file_init.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/schulcloud-server-init/templates/configmap_file_init.yml.j2 b/ansible/roles/schulcloud-server-init/templates/configmap_file_init.yml.j2 index c88673e3e68..a3e5459077f 100644 --- a/ansible/roles/schulcloud-server-init/templates/configmap_file_init.yml.j2 +++ b/ansible/roles/schulcloud-server-init/templates/configmap_file_init.yml.j2 @@ -25,7 +25,9 @@ data: else echo "gg, hacky mongo replicaset" fi + {% if KEDA_NAMESPACE_ACTIVATOR_ENABLED is defined %} curl -XPUT -H 'Content-Type: application/json' -Lv 'https://activate.cd.dbildungscloud.dev/namespace' -d '{"name" : "{{ NAMESPACE }}"}' + {% endif %} curl --retry 360 --retry-connrefused --retry-delay 10 -X POST 'http://mgmt-svc:3333/api/management/database/seed?with-indexes=true' # Below is a series of a MongoDB-data initializations, meant for the development and testing