blob: 292211889fdd657bbdbeec02168365020aec033b (
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
|
apiVersion: v1
kind: Template
metadata:
name: sds-secrets
labels:
app: sds
annotations:
descriptions: "SymmetricDS Secrets"
objects:
- apiVersion: v1
kind: Secret
metadata:
annotations:
template.openshift.io/expose-root_password: '{.data[''root-password'']}'
template.openshift.io/expose-database_password: '{.data[''database-password'']}'
name: sds
stringData:
root-password: "${DATABASE_PASSWORD}"
database-password: "${DATABASE_PASSWORD}"
parameters:
- description: SymmetricDS Database Password
displayName: SymmetricDS Database Password
from: '[a-zA-Z0-9]{16}'
generate: expression
name: DATABASE_PASSWORD
required: true
|