summaryrefslogtreecommitdiffstats
path: root/setup/projects/kaas
diff options
context:
space:
mode:
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 }}