summaryrefslogtreecommitdiffstats
path: root/setup/projects/kaas
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2024-07-29 22:25:20 +0200
committerSuren A. Chilingaryan <csa@suren.me>2024-07-29 22:25:20 +0200
commitf8263200baf2c97487549624fbb22fc228fed21a (patch)
tree38300a8e667cc4ef38484c936c40e2e5bc45aaec /setup/projects/kaas
parentda0341e530bda9e00b5f76b59a72e34be3590822 (diff)
downloadands-f8263200baf2c97487549624fbb22fc228fed21a.tar.gz
ands-f8263200baf2c97487549624fbb22fc228fed21a.tar.bz2
ands-f8263200baf2c97487549624fbb22fc228fed21a.tar.xz
ands-f8263200baf2c97487549624fbb22fc228fed21a.zip
Add LSDF mount in kaas-manager and fix it for new ansible version
Diffstat (limited to 'setup/projects/kaas')
-rw-r--r--setup/projects/kaas/templates/40-kaas-manager.yml.j29
1 files changed, 7 insertions, 2 deletions
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 }}