Baoyuantop commented on issue #383:
URL:
https://github.com/apache/apisix-helm-chart/issues/383#issuecomment-6095832593
APISIX chart 2.18.0 can create a debug.yaml ConfigMap and mount the file
into the gateway using these values:
```
extraDeploy:
- apiVersion: v1
kind: ConfigMap
metadata:
name: apisix-debug
data:
debug.yaml: |
basic:
enable: true
extraVolumes:
- name: debug-config
configMap:
name: apisix-debug
extraVolumeMounts:
- name: debug-config
mountPath: /usr/local/apisix/conf/debug.yaml
subPath: debug.yaml
```
Use a distinct ConfigMap name for each release and keep all three references
consistent. This configuration passed Helm rendering checks, including
basic.enable: true and the /usr/local/apisix/conf/debug.yaml mount. APISIX
debug behavior was not independently tested at runtime.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]