apache / apache/apisix-helm-chart
bug: does not update the files in the pod after modifying the configmap, resulting in the configuration not being hot-loaded.
- Dominant language
- Go Template
- Stars
- 289
- Forks
- 282
- Avg merge
- 15h 55m
- Merged PRs (30d)
- 3
Description
### Current Behavior

因为目前使用了subPath,导致修改cm不会对pod中的文件不会被更新,导致apisix配置不会热加载,需要重启才能生效
解决版本,指定到一个目录,然后cm挂载到这个目录的config.yaml不使用subPath
### Expected Behavior
_No response_
### Error Logs
_No response_
### Steps to Reproduce
安装一个k8s环境然后使用helm安转一个apisix就可以了
### Environment
apisix 3.2.2
k8s环境
Contributor guide
No contributing guide indexed for this repository
Research direction
Inspect the APISIX Helm chart's ConfigMap volume mounts and the use of subPath. Reproduce the behavior in a Kubernetes environment by installing APISIX with Helm and modifying the ConfigMap; the work is done when the mounted configuration file updates in the pod and APISIX hot-loads the change without a restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100