summaryrefslogtreecommitdiffstats
path: root/setup/projects/adei/templates
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-25 23:37:04 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-25 23:37:04 +0100
commit4e5b055d02f7ab1f618fb2426cfff9ebc1c9678a (patch)
tree8abb0a5a80eb7e155975dbd884f3ea0b6f955f9f /setup/projects/adei/templates
parent93c950b8e2f06a62bb4b7b0f463eec125118aafc (diff)
downloadands-4e5b055d02f7ab1f618fb2426cfff9ebc1c9678a.tar.gz
ands-4e5b055d02f7ab1f618fb2426cfff9ebc1c9678a.tar.bz2
ands-4e5b055d02f7ab1f618fb2426cfff9ebc1c9678a.tar.xz
ands-4e5b055d02f7ab1f618fb2426cfff9ebc1c9678a.zip
A complete working ADEI templte, v1-alpha
Diffstat (limited to 'setup/projects/adei/templates')
-rw-r--r--setup/projects/adei/templates/01-secret.yml.j226
1 files changed, 26 insertions, 0 deletions
diff --git a/setup/projects/adei/templates/01-secret.yml.j2 b/setup/projects/adei/templates/01-secret.yml.j2
new file mode 100644
index 0000000..f310ec9
--- /dev/null
+++ b/setup/projects/adei/templates/01-secret.yml.j2
@@ -0,0 +1,26 @@
+apiVersion: v1
+kind: Template
+metadata:
+ name: adei-build
+ labels:
+ app: adei
+ annotations:
+ descriptions: "ADEI Secrets"
+objects:
+- apiVersion: v1
+ kind: Secret
+ metadata:
+ annotations:
+ template.openshift.io/expose-adei_password: '{.data[''adei-password'']}'
+ template.openshift.io/expose-pma_password: '{.data[''pma-password'']}'
+ name: adei
+ stringData:
+ adei-password: "{{ kaas_project_config.adei_password }}"
+ pma-password: "${PMA_PASSWORD}"
+parameters:
+- description: Password for the PMA connection user.
+ displayName: PMA Connection Password
+ from: '[a-zA-Z0-9]{16}'
+ generate: expression
+ name: PMA_PASSWORD
+ required: true