summaryrefslogtreecommitdiffstats
path: root/setup/projects/adei/templates/01-secret.yml.j2
blob: f310ec95e7c371928818be3a8ca43cdaddfe6ee5 (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: 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