File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,13 @@ spec:
34
34
- " /bin/sh"
35
35
- " -c"
36
36
- |
37
- if [ -f /usr/local/share/ca-certificates/my-ca.crt ]; then
38
- update-ca-certificates;
39
- fi &&
40
37
alembic upgrade head &&
41
38
echo "Starting Danswer Api Server" &&
42
39
uvicorn danswer.main:app --host 0.0.0.0 --port 8080
43
40
ports :
44
41
- containerPort : 8080
45
- # Existing environment variables
42
+ # There are some extra values since this is shared between services
43
+ # There are no conflicts though, extra env variables are simply ignored
46
44
env :
47
45
- name : OAUTH_CLIENT_ID
48
46
valueFrom :
62
60
envFrom :
63
61
- configMapRef :
64
62
name : env-configmap
65
- # Optional volume mount for CA certificate - feel free to comment out
66
- # If not necessary
67
- volumeMounts :
68
- - name : my-ca-cert-volume
69
- mountPath : /etc/ssl/certs/my-ca.crt
70
- subPath : my-ca.crt
71
- # Optional volume for CA certificate
72
- volumes :
73
- - name : my-ca-cert-volume
74
- secret :
75
- secretName : my-ca-cert
76
- items :
77
- - key : my-ca.crt
78
- path : my-ca.crt
You can’t perform that action at this time.
0 commit comments