From f8263200baf2c97487549624fbb22fc228fed21a Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 29 Jul 2024 22:25:20 +0200 Subject: Add LSDF mount in kaas-manager and fix it for new ansible version --- setup/projects/kaas/templates/40-kaas-manager.yml.j2 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'setup/projects/kaas/templates') diff --git a/setup/projects/kaas/templates/40-kaas-manager.yml.j2 b/setup/projects/kaas/templates/40-kaas-manager.yml.j2 index 0e0f45e..1f5b1b3 100644 --- a/setup/projects/kaas/templates/40-kaas-manager.yml.j2 +++ b/setup/projects/kaas/templates/40-kaas-manager.yml.j2 @@ -54,7 +54,10 @@ objects: {% endif %} {% endif %} volumes: -{% for name, vol in kaas_project_volumes.iteritems() %} + - name: lsdf-katrin-kdb + persistentVolumeClaim: + claimName: lsdf-katrin-kdb +{% for name, vol in kaas_project_volumes.items() %} {% set oc_name = name | regex_replace('_','-') %} {% if (vol.write | default(false)) %} - name: vol-{{ name }} @@ -71,7 +74,9 @@ objects: image: kaas-manager command: [ "/docker-entrypoint.sh", "/bin/sx" ] volumeMounts: -{% for name, vol in kaas_project_volumes.iteritems() %} + - name: lsdf-katrin-kdb + mountPath: /mnt/lsdf-kdb +{% for name, vol in kaas_project_volumes.items() %} {% if (vol.write | default(false)) %} - name: vol-{{ name }} mountPath: /mnt/{{ name }} -- cgit v1.2.3