haoke016 commented on issue #243:
URL: 
https://github.com/apache/apisix-helm-chart/issues/243#issuecomment-1842015930

   构建镜像时设置软链接:
   # 配置文件软连接支持动态加载
   RUN mkdir /usr/local/apisix/rule && \
       touch /usr/local/apisix/rule/apisix.yaml && \
       ln -s /usr/local/apisix/rule/apisix.yaml 
/usr/local/apisix/conf/apisix.yaml
   
   在K8S的ConfigMap时,将配置文件挂载到/usr/local/apisix/conf/apisix.yaml中
         volumeMounts:
           - name: apisix-config
             mountPath: /usr/local/apisix/conf/config.yaml
             subPath: config.yaml
           - name: apisix-rules
             mountPath: /usr/local/apisix/rule


-- 
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]

Reply via email to