Skip to content

Commit 50544a4

Browse files
committed
F
Signed-off-by: Nic <[email protected]>
1 parent e82fb7c commit 50544a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

charts/gateway/templates/configmap.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,11 @@ data:
186186
{{- toYaml .Values.apisix.stream.luaSharedDict | nindent 10 }}
187187
{{- end }}
188188
http:
189+
{{- if and (.Values.deployment.fallback_cp) (eq .Values.deployment.fallback_cp.mode "write") }}
190+
enable_access_log: false
191+
{{- else }}
189192
enable_access_log: {{ .Values.logs.enableAccessLog }}
193+
{{- end }}
190194
{{- if .Values.logs.enableAccessLog }}
191195
access_log: "{{ .Values.logs.accessLog }}"
192196
access_log_format: >-

0 commit comments

Comments
 (0)