summaryrefslogtreecommitdiffstats
path: root/setup/projects/katrin
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-29 05:07:11 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-29 05:07:11 +0200
commit963221b9cab88846db37ad5efa658eeb39aada35 (patch)
treef270f59fd7226d89f60ca8eecad1a2b79173e0e4 /setup/projects/katrin
parenta2bf14be3f6b24b8f0ab5adf9428483eae60d8d6 (diff)
downloadands-963221b9cab88846db37ad5efa658eeb39aada35.tar.gz
ands-963221b9cab88846db37ad5efa658eeb39aada35.tar.bz2
ands-963221b9cab88846db37ad5efa658eeb39aada35.tar.xz
ands-963221b9cab88846db37ad5efa658eeb39aada35.zip
Trac hosting (old and new); WebDAV service for KATRIN
Diffstat (limited to 'setup/projects/katrin')
-rw-r--r--setup/projects/katrin/templates/20-upload-secret.yml.j217
-rw-r--r--setup/projects/katrin/vars/pods.yml15
2 files changed, 32 insertions, 0 deletions
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