Skip to content

Commit 142759a

Browse files
committed
chore: lint fix
1 parent da20aed commit 142759a

File tree

2 files changed

+35
-35
lines changed

2 files changed

+35
-35
lines changed

kubernetes/deploy.yaml

+23-23
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,26 @@ spec:
2121
name: chatgpt-web
2222
imagePullPolicy: Always
2323
ports:
24-
- containerPort: 3002
24+
- containerPort: 3002
2525
env:
26-
- name: OPENAI_API_KEY
27-
value: sk-xxx
28-
- name: OPENAI_API_BASE_URL
29-
value: "https://api.openai.com"
30-
- name: OPENAI_API_MODEL
31-
value: gpt-3.5-turbo
32-
- name: API_REVERSE_PROXY
33-
value: https://bypass.duti.tech/api/conversation
34-
- name: AUTH_SECRET_KEY
35-
value: '123456'
36-
- name: TIMEOUT_MS
37-
value: '60000'
38-
- name: SOCKS_PROXY_HOST
39-
value: ''
40-
- name: SOCKS_PROXY_PORT
41-
value: ''
42-
- name: HTTPS_PROXY
43-
value: ''
26+
- name: OPENAI_API_KEY
27+
value: sk-xxx
28+
- name: OPENAI_API_BASE_URL
29+
value: 'https://api.openai.com'
30+
- name: OPENAI_API_MODEL
31+
value: gpt-3.5-turbo
32+
- name: API_REVERSE_PROXY
33+
value: https://bypass.duti.tech/api/conversation
34+
- name: AUTH_SECRET_KEY
35+
value: '123456'
36+
- name: TIMEOUT_MS
37+
value: '60000'
38+
- name: SOCKS_PROXY_HOST
39+
value: ''
40+
- name: SOCKS_PROXY_PORT
41+
value: ''
42+
- name: HTTPS_PROXY
43+
value: ''
4444
resources:
4545
limits:
4646
cpu: 500m
@@ -57,10 +57,10 @@ metadata:
5757
name: chatgpt-web
5858
spec:
5959
ports:
60-
- name: chatgpt-web
61-
port: 3002
62-
protocol: TCP
63-
targetPort: 3002
60+
- name: chatgpt-web
61+
port: 3002
62+
protocol: TCP
63+
targetPort: 3002
6464
selector:
6565
app: chatgpt-web
6666
type: ClusterIP

kubernetes/ingress.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ kind: Ingress
33
metadata:
44
annotations:
55
kubernetes.io/ingress.class: nginx
6-
nginx.ingress.kubernetes.io/proxy-connect-timeout: "5"
6+
nginx.ingress.kubernetes.io/proxy-connect-timeout: '5'
77
name: chatgpt-web
88
spec:
99
rules:
10-
- host: chatgpt.example.com
11-
http:
12-
paths:
13-
- backend:
14-
service:
15-
name: chatgpt-web
16-
port:
17-
number: 3002
18-
path: /
19-
pathType: ImplementationSpecific
10+
- host: chatgpt.example.com
11+
http:
12+
paths:
13+
- backend:
14+
service:
15+
name: chatgpt-web
16+
port:
17+
number: 3002
18+
path: /
19+
pathType: ImplementationSpecific
2020
tls:
21-
- secretName: chatgpt-web-tls
21+
- secretName: chatgpt-web-tls

0 commit comments

Comments
 (0)