blob: 44d59143fcfc471cba8e76b1924ac3995fe75d40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
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-root_password: '{.data[''root-password'']}'
template.openshift.io/expose-service_password: '{.data[''service-password'']}'
template.openshift.io/expose-pma_password: '{.data[''pma-password'']}'
name: adei
stringData:
adei-password: "{{ kaas_project_config.adei_password }}"
root-password: "{{ kaas_project_config.adei_password }}"
service-password: "${SERVICE_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
- description: Password for the service users
displayName: Service Connection Password
from: '[a-zA-Z0-9]{16}'
generate: expression
name: SERVICE_PASSWORD
required: true
|