37
37
key : password
38
38
name : mongo
39
39
optional : false
40
+ envFrom :
41
+ - secretRef :
42
+ name : pac-api
40
43
image : ' mongo:5.0.6'
41
44
imagePullPolicy : IfNotPresent
42
45
name : choose-native-plants-db
87
90
key : IMAGE_URLS_SHEET_ID
88
91
name : app
89
92
optional : false
93
+ - name : PAC_API_BASE_URL
94
+ valueFrom :
95
+ secretKeyRef :
96
+ key : PAC_API_BASE_URL
97
+ name : pac-api
98
+ optional : false
99
+ - name : PAC_API_KEY
100
+ valueFrom :
101
+ secretKeyRef :
102
+ key : PAC_API_KEY
103
+ name : pac-api
104
+ optional : false
90
105
- name : SUPERPLANTS_CSV_URL
91
106
valueFrom :
92
107
secretKeyRef :
@@ -123,6 +138,80 @@ spec:
123
138
key : SERVICE_ACCOUNT
124
139
name : app
125
140
optional : false
141
+ - name : AWS_ACCESS_KEY_ID
142
+ valueFrom :
143
+ secretKeyRef :
144
+ key : AWS_ACCESS_KEY_ID
145
+ name : linode-storage
146
+ optional : false
147
+ - name : AWS_SECRET_ACCESS_KEY
148
+ valueFrom :
149
+ secretKeyRef :
150
+ key : AWS_SECRET_ACCESS_KEY
151
+ name : linode-storage
152
+ optional : false
153
+ - name : AWS_DEFAULT_REGION
154
+ valueFrom :
155
+ secretKeyRef :
156
+ key : AWS_DEFAULT_REGION
157
+ name : linode-storage
158
+ optional : false
159
+ - name : LINODE_BUCKET_NAME
160
+ valueFrom :
161
+ secretKeyRef :
162
+ key : LINODE_BUCKET_NAME
163
+ name : linode-storage
164
+ optional : false
165
+ - name : LINODE_ENDPOINT_URL
166
+ valueFrom :
167
+ secretKeyRef :
168
+ key : LINODE_ENDPOINT_URL
169
+ name : linode-storage
170
+ optional : false
171
+ - name : PAC_API_BASE_URL
172
+ valueFrom :
173
+ secretKeyRef :
174
+ key : PAC_API_BASE_URL
175
+ name : pac-api
176
+ optional : false
177
+ - name : PAC_API_KEY
178
+ valueFrom :
179
+ secretKeyRef :
180
+ key : PAC_API_KEY
181
+ name : pac-api
182
+ optional : false
183
+ - name : AWS_ACCESS_KEY_ID
184
+ valueFrom :
185
+ secretKeyRef :
186
+ key : AWS_ACCESS_KEY_ID
187
+ name : linode-storage
188
+ optional : false
189
+ - name : AWS_SECRET_ACCESS_KEY
190
+ valueFrom :
191
+ secretKeyRef :
192
+ key : AWS_SECRET_ACCESS_KEY
193
+ name : linode-storage
194
+ optional : false
195
+ - name : AWS_DEFAULT_REGION
196
+ valueFrom :
197
+ secretKeyRef :
198
+ key : AWS_DEFAULT_REGION
199
+ name : linode-storage
200
+ optional : false
201
+ - name : LINODE_BUCKET_NAME
202
+ valueFrom :
203
+ secretKeyRef :
204
+ key : LINODE_BUCKET_NAME
205
+ name : linode-storage
206
+ optional : false
207
+ - name : LINODE_ENDPOINT_URL
208
+ valueFrom :
209
+ secretKeyRef :
210
+ key : LINODE_ENDPOINT_URL
211
+ name : linode-storage
212
+ optional : false
213
+ - name : NODE_OPTIONS
214
+ value : ' --openssl-legacy-provider --max-old-space-size=768'
126
215
envFrom :
127
216
- configMapRef :
128
217
name : app-config
@@ -139,6 +228,11 @@ spec:
139
228
- containerPort : 3000
140
229
name : http
141
230
protocol : TCP
231
+ resources :
232
+ limits :
233
+ memory : 1Gi
234
+ requests :
235
+ memory : 512Mi
142
236
volumeMounts :
143
237
- mountPath : /app/images
144
238
name : choose-native-plants-app-images
@@ -147,7 +241,7 @@ spec:
147
241
volumes :
148
242
- name : choose-native-plants-app-images
149
243
persistentVolumeClaim :
150
- claimName : choose-native-plants-app-images
244
+ claimName : choose-native-plants-app-images-v2
151
245
- name : choose-native-plants-mongo-data
152
246
persistentVolumeClaim :
153
247
claimName : choose-native-plants-mongo-data
0 commit comments