-
Notifications
You must be signed in to change notification settings - Fork 12
/
dreams.yaml
99 lines (99 loc) · 3.33 KB
/
dreams.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{{ if .Values.enabled }}{{ if .Values.enableDeployment }}
apiVersion: v1
kind: Service
metadata:
name: dreams
spec:
ports:
- name: '3000'
port: 3000
selector:
app: dreams
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: dreams
spec:
replicas: 1
template:
metadata:
labels:
app: dreams
spec:
containers:
- name: dreams
image: {{ .Values.image | quote }}
ports:
- containerPort: 3000
resources: {{ .Values.resources }}
env:
- name: APP_URL
value: {{ .Values.APP_URL }}
- name: AWS_ACCESS_KEY_ID
valueFrom: {secretKeyRef: {name: "dreams",key: "AWS_ACCESS_KEY_ID"}}
- name: AWS_SECRET_ACCESS_KEY
valueFrom: {secretKeyRef: {name: "dreams",key: "AWS_SECRET_ACCESS_KEY"}}
- name: CREW_SIZE
value: "true"
- name: DATABASE_URL
valueFrom: {"secretKeyRef":{"name":"dreamsdb", "key":"DATABASE_URL"}}
- name: DISABLE_EDITING_DREAM
value: "false"
- name: EMAIL_FROM
value: "art@midburn.org"
- name: GOOGLE_APPS_NAME
value: "Midburn Dreams Google Apps Script"
- name: GOOGLE_APPS_SCRIPT
valueFrom: {secretKeyRef: {name: "dreams",key: "GOOGLE_APPS_SCRIPT"}}
- name: GOOGLE_APPS_SCRIPT_FUNCTION
value: createDream
- name: GOOGLE_APPS_SCRIPT_TOKEN
valueFrom: {secretKeyRef: {name: "dreams",key: "GOOGLE_APPS_SCRIPT_TOKEN"}}
- name: GOOGLE_CLIENT_SECRETS
valueFrom: {secretKeyRef: {name: "dreams",key: "GOOGLE_CLIENT_SECRETS"}}
- name: GOOGLE_DRIVE_INTEGRATION
value: "true"
- name: LANG
value: en_US.UTF-8
- name: MULTI_LANG_SUPPORT
value: "true"
- name: PERSON_EARLY_ARRIVAL
value: "true"
- name: PERSON_HAS_TICKET
value: "true"
- name: RACK_ENV
value: production
- name: RAILS_ENV
value: production
- name: RAILS_SERVE_STATIC_FILES
value: "enabled"
- name: RAYGUN_APIKEY
valueFrom: {secretKeyRef: {name: "dreams",key: "RAYGUN_APIKEY"}}
- name: RECAPTCHA_SECRET_KEY
valueFrom: {secretKeyRef: {name: "dreams",key: "RECAPTCHA_SECRET_KEY"}}
- name: RECAPTCHA_SITE_KEY
valueFrom: {secretKeyRef: {name: "dreams",key: "RECAPTCHA_SITE_KEY"}}
- name: S3_BUCKET_NAME
valueFrom: {secretKeyRef: {name: "dreams",key: "S3_BUCKET_NAME"}}
- name: SECRET_KEY_BASE
valueFrom: {secretKeyRef: {name: "dreams",key: "SECRET_KEY_BASE"}}
- name: SENDGRID_PASSWORD
valueFrom: {secretKeyRef: {name: "dreams",key: "SENDGRID_PASSWORD"}}
- name: SENDGRID_USERNAME
valueFrom: {secretKeyRef: {name: "dreams",key: "SENDGRID_USERNAME"}}
- name: SHOW_POINT_OF_CONTACT
value: "true"
- name: SHOW_SAFETY_FILE_COMMENTS
value: "true"
- name: SPARK
value: "true"
- name: SPARK_TOKEN
valueFrom: {secretKeyRef: {name: "spark-secret-token",key: "SPARK_SECRET_TOKEN"}}
- name: SPARK_URL
value: https://spark.midburn.org/api/userlogin
- name: SPARK_HOST
value: {{ .Values.SPARK_HOST }}
- name: TZ
value: Asia/Jerusalem
{{ end }}{{ end }}