forked from uselagoon/lagoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lagoon.logs-db-secrets.yaml
45 lines (45 loc) · 1.32 KB
/
.lagoon.logs-db-secrets.yaml
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
41
42
43
44
45
apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: lagoon-secret-environment-template
parameters:
- name: LOGSDB_ADMIN_PASSWORD
description: admin password of logs-db
generate: expression
from: "[a-zA-Z0-9]{32}"
- name: LOGSDB_KIBANASERVER_PASSWORD
description: kibana password of logs-db
generate: expression
from: "[a-zA-Z0-9]{32}"
- name: SAFE_BRANCH
description: Which branch this belongs to, special chars replaced with dashes
required: true
- name: SAFE_PROJECT
description: Which project this belongs to, special chars replaced with dashes
required: true
- name: BRANCH
description: Which branch this belongs to, original value
required: true
- name: PROJECT
description: Which project this belongs to, original value
required: true
- name: LAGOON_GIT_SHA
description: git hash sha of the current deployment
required: true
- name: OPENSHIFT_PROJECT
description: Name of the Project that this service is in
required: true
objects:
- kind: Secret
apiVersion: v1
metadata:
name: logs-db-admin-password
stringData:
LOGSDB_ADMIN_PASSWORD: ${LOGSDB_ADMIN_PASSWORD}
- kind: Secret
apiVersion: v1
metadata:
name: logs-db-kibanaserver-password
stringData:
LOGSDB_KIBANASERVER_PASSWORD: ${LOGSDB_KIBANASERVER_PASSWORD}