chore: lint fix

main
ChenZhaoYu 2 years ago
parent da20aed4b0
commit 142759ac50

@ -21,26 +21,26 @@ spec:
name: chatgpt-web name: chatgpt-web
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 3002 - containerPort: 3002
env: env:
- name: OPENAI_API_KEY - name: OPENAI_API_KEY
value: sk-xxx value: sk-xxx
- name: OPENAI_API_BASE_URL - name: OPENAI_API_BASE_URL
value: "https://api.openai.com" value: 'https://api.openai.com'
- name: OPENAI_API_MODEL - name: OPENAI_API_MODEL
value: gpt-3.5-turbo value: gpt-3.5-turbo
- name: API_REVERSE_PROXY - name: API_REVERSE_PROXY
value: https://bypass.duti.tech/api/conversation value: https://bypass.duti.tech/api/conversation
- name: AUTH_SECRET_KEY - name: AUTH_SECRET_KEY
value: '123456' value: '123456'
- name: TIMEOUT_MS - name: TIMEOUT_MS
value: '60000' value: '60000'
- name: SOCKS_PROXY_HOST - name: SOCKS_PROXY_HOST
value: '' value: ''
- name: SOCKS_PROXY_PORT - name: SOCKS_PROXY_PORT
value: '' value: ''
- name: HTTPS_PROXY - name: HTTPS_PROXY
value: '' value: ''
resources: resources:
limits: limits:
cpu: 500m cpu: 500m
@ -57,10 +57,10 @@ metadata:
name: chatgpt-web name: chatgpt-web
spec: spec:
ports: ports:
- name: chatgpt-web - name: chatgpt-web
port: 3002 port: 3002
protocol: TCP protocol: TCP
targetPort: 3002 targetPort: 3002
selector: selector:
app: chatgpt-web app: chatgpt-web
type: ClusterIP type: ClusterIP

@ -3,19 +3,19 @@ kind: Ingress
metadata: metadata:
annotations: annotations:
kubernetes.io/ingress.class: nginx kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-connect-timeout: "5" nginx.ingress.kubernetes.io/proxy-connect-timeout: '5'
name: chatgpt-web name: chatgpt-web
spec: spec:
rules: rules:
- host: chatgpt.example.com - host: chatgpt.example.com
http: http:
paths: paths:
- backend: - backend:
service: service:
name: chatgpt-web name: chatgpt-web
port: port:
number: 3002 number: 3002
path: / path: /
pathType: ImplementationSpecific pathType: ImplementationSpecific
tls: tls:
- secretName: chatgpt-web-tls - secretName: chatgpt-web-tls

Loading…
Cancel
Save