Skip to content

Commit 3ab013a

Browse files
Apply suggestions from code review
Co-authored-by: Alex Welsh <[email protected]>
1 parent eec7b74 commit 3ab013a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

helm/templates/ragflow.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
{{- with .Values.ragflow.image.pullPolicy }}
4141
imagePullPolicy: {{ . }}
4242
{{- end }}
43-
{{- if .Values.ragflow.enableAdminServer }}
43+
{{- if .Values.ragflow.enableDangerousAdminServer }}
4444
args:
4545
- --enable-adminserver
4646
{{- end }}
@@ -49,7 +49,7 @@ spec:
4949
name: http
5050
- containerPort: 9380
5151
name: http-api
52-
{{- if .Values.ragflow.enableAdminServer }}
52+
{{- if .Values.ragflow.enableDangerousAdminServer }}
5353
- containerPort: 9381
5454
name: http-admin
5555
{{- end }}
@@ -126,7 +126,7 @@ spec:
126126
type: {{ .Values.ragflow.api.service.type }}
127127
{{- end }}
128128
---
129-
{{- if .Values.ragflow.enableAdminServer }}
129+
{{- if .Values.ragflow.enableDangerousAdminServer }}
130130
apiVersion: v1
131131
kind: Service
132132
metadata:

helm/templates/ragflow_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ data:
3030
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
3131
gzip_vary on;
3232
gzip_disable "MSIE [1-6]\.";
33-
{{- if .Values.ragflow.enableAdminServer }}
33+
{{- if .Values.ragflow.enableDangerousAdminServer }}
3434
# Admin API route to access /api/v1/admin backend API
3535
location ~ ^/api/v1/admin {
3636
proxy_pass http://localhost:9381;

0 commit comments

Comments
 (0)