This repository was archived by the owner on Jun 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +33
-25
lines changed Expand file tree Collapse file tree 1 file changed +33
-25
lines changed Original file line number Diff line number Diff line change @@ -14,29 +14,37 @@ spec:
14
14
labels :
15
15
app : eddiehub-api
16
16
spec :
17
+ volumes :
18
+ - name : mongo-crt
19
+ secret :
20
+ secretName : mongo-crt
17
21
containers :
18
- - name : api
19
- image : ghcr.io/eddiehubcommunity/api:latest
20
- ports :
21
- - containerPort : 3000
22
- env :
23
- - name : APPROVED_TOKENS
24
- valueFrom :
25
- secretKeyRef :
26
- name : approved-tokens
27
- key : APPROVED_TOKENS
28
- - name : API_MONGO_CONNECTION_STRING
29
- valueFrom :
30
- secretKeyRef :
31
- name : api-mongo-connection-string
32
- key : API_MONGO_CONNECTION_STRING
33
- - name : API_MONGO_DB_NAME
34
- valueFrom :
35
- secretKeyRef :
36
- name : api-mongo-db-name
37
- key : API_MONGO_DB_NAME
38
- - name : GH_TOKEN
39
- valueFrom :
40
- secretKeyRef :
41
- name : gh-token
42
- key : GH_TOKEN
22
+ - name : api
23
+ image : ghcr.io/eddiehubcommunity/api:latest
24
+ volumeMounts :
25
+ - mountPath : ' /etc/mongo/crt'
26
+ name : mongo-crt
27
+ readOnly : true
28
+ ports :
29
+ - containerPort : 3000
30
+ env :
31
+ - name : APPROVED_TOKENS
32
+ valueFrom :
33
+ secretKeyRef :
34
+ name : approved-tokens
35
+ key : APPROVED_TOKENS
36
+ - name : API_MONGO_CONNECTION_STRING
37
+ valueFrom :
38
+ secretKeyRef :
39
+ name : api-mongo-connection-string
40
+ key : API_MONGO_CONNECTION_STRING
41
+ - name : API_MONGO_DB_NAME
42
+ valueFrom :
43
+ secretKeyRef :
44
+ name : api-mongo-db-name
45
+ key : API_MONGO_DB_NAME
46
+ - name : GH_TOKEN
47
+ valueFrom :
48
+ secretKeyRef :
49
+ name : gh-token
50
+ key : GH_TOKEN
You can’t perform that action at this time.
0 commit comments