From 963221b9cab88846db37ad5efa658eeb39aada35 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 29 Aug 2019 05:07:11 +0200 Subject: Trac hosting (old and new); WebDAV service for KATRIN --- setup/projects/katrin/templates/20-upload-secret.yml.j2 | 17 +++++++++++++++++ setup/projects/katrin/vars/pods.yml | 15 +++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 setup/projects/katrin/templates/20-upload-secret.yml.j2 create mode 100644 setup/projects/katrin/vars/pods.yml (limited to 'setup/projects/katrin') diff --git a/setup/projects/katrin/templates/20-upload-secret.yml.j2 b/setup/projects/katrin/templates/20-upload-secret.yml.j2 new file mode 100644 index 0000000..343adc2 --- /dev/null +++ b/setup/projects/katrin/templates/20-upload-secret.yml.j2 @@ -0,0 +1,17 @@ +#jinja2: trim_blocks: "true", lstrip_blocks: "false" +--- +apiVersion: v1 +kind: Template +metadata: + name: katrin-upload + annotations: + descriptions: KaaS Data Management Service +objects: + - apiVersion: v1 + kind: Secret + metadata: + name: katrin-upload + type: openshift.io/cifs + stringData: + username: "katrin" + password: "katrin" diff --git a/setup/projects/katrin/vars/pods.yml b/setup/projects/katrin/vars/pods.yml new file mode 100644 index 0000000..0c74816 --- /dev/null +++ b/setup/projects/katrin/vars/pods.yml @@ -0,0 +1,15 @@ +pods: + katrin-webdav: + service: { host: "katrin-webdav.{{ openshift_master_default_subdomain }}", ports: [ 80/8080 ] } + sched: { replicas: 1 } + images: + - stream: "kaas/kaas-webdav:latest" + mappings: + - { name: "katrin", path: "upload", mount: "/var/dav/data" } + env: + - { name: "USERNAME", value: "secret@katrin-upload/username" } + - { name: "PASSWORD", value: "secret@katrin-upload/password" } + probes: + - { port: 8080 } + + \ No newline at end of file -- cgit v1.2.3