3737 key : password
3838 name : mongo
3939 optional : false
40+ envFrom :
41+ - secretRef :
42+ name : pac-api
4043 image : ' mongo:5.0.6'
4144 imagePullPolicy : IfNotPresent
4245 name : choose-native-plants-db
8790 key : IMAGE_URLS_SHEET_ID
8891 name : app
8992 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
90105 - name : SUPERPLANTS_CSV_URL
91106 valueFrom :
92107 secretKeyRef :
@@ -123,6 +138,80 @@ spec:
123138 key : SERVICE_ACCOUNT
124139 name : app
125140 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'
126215 envFrom :
127216 - configMapRef :
128217 name : app-config
@@ -139,6 +228,11 @@ spec:
139228 - containerPort : 3000
140229 name : http
141230 protocol : TCP
231+ resources :
232+ limits :
233+ memory : 1Gi
234+ requests :
235+ memory : 512Mi
142236 volumeMounts :
143237 - mountPath : /app/images
144238 name : choose-native-plants-app-images
@@ -147,7 +241,7 @@ spec:
147241 volumes :
148242 - name : choose-native-plants-app-images
149243 persistentVolumeClaim :
150- claimName : choose-native-plants-app-images
244+ claimName : choose-native-plants-app-images-v2
151245 - name : choose-native-plants-mongo-data
152246 persistentVolumeClaim :
153247 claimName : choose-native-plants-mongo-data
0 commit comments