This repository has been archived by the owner on Oct 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
values.staging.yaml
164 lines (155 loc) · 4.06 KB
/
values.staging.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
replicaCount: 2
image:
repository: containers.monetr.dev/rest-api
pullPolicy: Always
tag: "" # Will be overwritten with the SHA for the commit of this deploy
imagePullSecrets:
- name: containers.monetr.dev
podAnnotations:
monetr.dev/branch: "" # Branch of the deployment will be put here
prometheus.io/scrape: 'true'
prometheus.io/port: '9000'
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
hosts:
- host: api.staging.monetr.dev
paths:
- path: /
tls:
- secretName: api-staging-monetr-dev-tls
hosts:
- api.staging.monetr.dev
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 50m
memory: 128Mi
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
disruption:
enabled: false
maxUnavailable: 1
minAvailable: 1
api:
name: monetr (staging)
customEnv:
- name: MONETR_ENVIRONMENT
value: "staging"
- name: MONETR_PG_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: alsatian-rest-api-secret
- name: MONETR_PG_USERNAME
valueFrom:
secretKeyRef:
key: username
name: alsatian-rest-api-secret
- name: MONETR_JWT_LOGIN_SECRET
valueFrom:
secretKeyRef:
key: MONETR_JWT_LOGIN_SECRET
name: rest-api-config-secrets
- name: MONETR_JWT_REGISTRATION_SECRET
valueFrom:
secretKeyRef:
key: MONETR_JWT_REGISTRATION_SECRET
name: rest-api-config-secrets
- name: MONETR_CAPTCHA_PUBLIC_KEY
valueFrom:
secretKeyRef:
key: MONETR_CAPTCHA_PUBLIC_KEY
name: monetr-staging-recaptcha
- name: MONETR_CAPTCHA_PRIVATE_KEY
valueFrom:
secretKeyRef:
key: MONETR_CAPTCHA_PRIVATE_KEY
name: monetr-staging-recaptcha
- name: MONETR_PLAID_CLIENT_ID
valueFrom:
secretKeyRef:
key: MONETR_PLAID_CLIENT_ID
name: rest-api-config-secrets
- name: MONETR_PLAID_CLIENT_SECRET
valueFrom:
secretKeyRef:
key: MONETR_PLAID_CLIENT_SECRET
name: rest-api-config-secrets
- name: MONETR_SENTRY_DSN
valueFrom:
secretKeyRef:
key: MONETR_SENTRY_DSN
name: monetr-staging-sentry
- name: MONETR_STRIPE_API_KEY
valueFrom:
secretKeyRef:
key: MONETR_STRIPE_API_KEY
name: monetr-staging-stripe
- name: MONETR_STRIPE_PUBLIC_KEY
valueFrom:
secretKeyRef:
key: MONETR_STRIPE_PUBLIC_KEY
name: monetr-staging-stripe
- name: MONETR_STRIPE_WEBHOOK_SECRET
valueFrom:
secretKeyRef:
key: MONETR_STRIPE_WEBHOOK_SECRET
name: monetr-staging-stripe
uiDomainName: app.staging.monetr.dev
apiDomainName: api.staging.monetr.dev
allowSignUp: true
enableWebhooks: true # Will be deprecated soon.
postgreSql:
address: alsatian.monetr-staging.svc.cluster.local
port: 5432
database: monetr
email:
enabled: false
domain: staging.monetr.dev
sendGrid:
enabled: false
apiKey: ""
templates:
verifyEmailTemplate: ""
forgotPasswordTemplate: ""
reCaptcha:
enabled: true
verifyLogin: true
verifyRegister: true
plaid:
environment: "https://sandbox.plaid.com"
enableReturningUserExperience: true
webhooksEnabled: true
webhooksDomain: api.staging.monetr.dev
oauthDomain: app.staging.monetr.dev
cors:
allowedOrigins:
- "https://app.staging.monetr.dev"
debug: false
redis:
enabled: true
address: redis.monetr-staging.svc.cluster.local
port: 6379
logging:
level: debug
sentry:
enabled: true
sampleRate: 1.0
traceSampleRate: 1.0
stripe:
enabled: true
webhooksEnabled: true # Still working on this for now.
webhooksDomain: https://api.staging.monetr.dev
billingEnabled: true
initialPlan:
freeTrialDays: 1
stripePriceId: price_1JFQFuI4uGGnwpgwquHOo34s
features:
- ManualBudgeting
- LinkedBudgeting