This repository has been archived by the owner on Aug 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lagoobernetes.secrets.yaml
81 lines (81 loc) · 2.26 KB
/
.lagoobernetes.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
72
73
74
75
76
77
78
79
80
81
apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: lagoobernetes-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: OPENDISTRO_SECURITY_COOKIE_PASSWORD
description: Password to for opendistro-security cookies
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: LAGOOBERNETES_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: lagoobernetes
- 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}
- kind: Secret
apiVersion: v1
metadata:
name: opendistro-security-cookie-password
stringData:
OPENDISTRO_SECURITY_COOKIE_PASSWORD: ${OPENDISTRO_SECURITY_COOKIE_PASSWORD}