jieqian opened a new issue, #8778:
URL: https://github.com/apache/apisix/issues/8778

   ### Current Behavior
   
   branch: master
   file: 
https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/templates/configmap.yaml
   line num: 200 ~ 204
   
   
按照https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml里comment配置,minimal的kubernetes服务发现:
   ```
   discovery:
     enabled: true
     registry: 
       kubernetes: {}
   ```
   渲染出来的config.yaml中“{}”换行了,导致lua解析yaml失败
   ```
   discovery:
     kubernetes:
       {}
   ```
   
   
   ### Expected Behavior
   
   ```
   discovery:
     kubernetes: {}
   ```
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   is as mentioned in "Current Behavior"
   
   ### Environment
   
   apisix installed via helm


-- 
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: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to