blob: 17272aadacb76de2cc49ec9b32cd89a416875810 (
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
37
38
39
40
|
apiVersion: v1
kind: Template
metadata:
name: asec-secret
labels:
app: asec
annotations:
descriptions: "ASEC Secrets"
objects:
- apiVersion: v1
kind: Secret
metadata:
annotations:
template.openshift.io/expose-asec_password: '{.data[''asec-password'']}'
template.openshift.io/expose-root_password: '{.data[''root-password'']}'
template.openshift.io/expose-service_password: '{.data[''service-password'']}'
name: asec
stringData:
asec-password: "${ASEC_PASSWORD}"
root-password: "${ROOT_PASSWORD}"
service-password: "${SERVICE_PASSWORD}"
parameters:
- description: Password for the service users
displayName: Service Connection Password
from: '[a-zA-Z0-9]{16}'
generate: expression
name: SERVICE_PASSWORD
required: true
- description: Password for the asec user
displayName: ASEC password
from: '[a-zA-Z0-9]{16}'
generate: expression
name: ASEC_PASSWORD
required: true
- description: Password for the root users
displayName: DB Admin Password
from: '[a-zA-Z0-9]{16}'
generate: expression
name: ROOT_PASSWORD
required: true
|