fix: The error is caused by too many environment variables(E2BIG).

This commit is contained in:
2025-04-15 09:21:04 +08:00
parent 81fb8d2881
commit 4604a4904a
2 changed files with 7 additions and 3 deletions
+1
View File
@@ -98,6 +98,7 @@ spec:
protocol: TCP
resources:
{{- toYaml .Values.web.resources | nindent 12 }}
enableServiceLinks: {{ .Values.web.enableServiceLinks }}
{{- if and (.Values.nodeSelector) (not .Values.web.nodeSelector) }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
+6 -3
View File
@@ -343,7 +343,7 @@ proxy:
## set, choosing the default provisioner.
## ReadWriteMany access mode required for nginx
##
storageClass:
storageClass: ""
accessModes: ReadWriteMany
size: 1Gi
subPath: ""
@@ -443,6 +443,9 @@ web:
## @param web.serviceAccount.annotations Additional custom annotations for the ServiceAccount
##
annotations: {}
## @param web.enableServiceLinks Disable this feature if additional environment variables would lead to `E2BIG` errors in case frontend were managed by `pm2`
##
enableServiceLinks: false
sandbox:
enabled: true
@@ -565,7 +568,7 @@ ssrfProxy:
## set, choosing the default provisioner.
## ReadWriteMany access mode required for squid
##
storageClass:
storageClass: ""
accessModes: ReadWriteMany
size: 1Gi
subPath: ""
@@ -640,7 +643,7 @@ pluginDaemon:
## set, choosing the default provisioner.
## ReadWriteMany access mode required for `pluginDaemon`
##
storageClass:
storageClass: ""
accessModes: ReadWriteMany
size: 5Gi
subPath: ""