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