forked from uselagoon/lagoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lagoon.secrets.yaml
71 lines (71 loc) · 1.9 KB
/
.lagoon.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: lagoon-secret-environment-template
parameters:
- name: JWTSECRET
description: JSON Web Token generation secret
generate: expression
from: "[a-zA-Z0-9]{32}"
- name: RABBITMQ_PASSWORD
description: Password to connect to rabbitmq to
generate: expression
from: "[a-zA-Z0-9]{32}"
- name: LOGSTASH_USERNAME
description: Username to for incoming logstash http connections
generate: expression
from: "[a-zA-Z0-9]{32}"
- name: LOGSTASH_PASSWORD
description: Password to for incoming logstash http connections
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: jwtsecret
stringData:
JWTSECRET: ${JWTSECRET}
- kind: Secret
apiVersion: v1
metadata:
name: rabbitmq-password
stringData:
RABBITMQ_PASSWORD: ${RABBITMQ_PASSWORD}
- kind: Secret
apiVersion: v1
metadata:
name: rabbitmq-username
stringData:
RABBITMQ_USERNAME: lagoon
- kind: Secret
apiVersion: v1
metadata:
name: logstash-username
stringData:
LOGSTASH_USERNAME: ${LOGSTASH_USERNAME}
- kind: Secret
apiVersion: v1
metadata:
name: logstash-password
stringData:
LOGSTASH_PASSWORD: ${LOGSTASH_PASSWORD}