You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "deekshith-hadil (via GitHub)" <gi...@apache.org> on 2026/08/13 11:33:34 UTC
[I] `enable_admin_ui` is not rendered when using external etcd [apisix-helm-chart]
deekshith-hadil opened a new issue, #995:
URL: https://github.com/apache/apisix-helm-chart/issues/995
## Description
In `templates/configmap.yaml`, the `enable_admin_ui` setting is inside a `{{- if .Values.etcd.enabled }}` block:
```yaml
admin:
{{- if .Values.etcd.enabled }}
enable_admin_ui: {{ .Values.apisix.admin.enable_admin_ui }}
{{- end }}
```
When you use an external etcd (`etcd.enabled: false` with `externalEtcd` configured), this line never makes it into the rendered config. APISIX defaults to `enable_admin_ui: true`, so the dashboard ends up exposed on port 9180 even though you explicitly set `enable_admin_ui: false` in your values.
## Steps to reproduce
1. Deploy with external etcd:
```yaml
etcd:
enabled: false
externalEtcd:
host:
- "https://my-etcd:2379"
apisix:
admin:
enabled: true
enable_admin_ui: false
```
2. Run `helm template` — the rendered configmap has no `enable_admin_ui` line under `deployment.admin`.
3. Hit `http://<admin-service>:9180/ui/` — dashboard is accessible.
## Expected
`enable_admin_ui: false` should be rendered regardless of how etcd is deployed. The setting controls the Admin API server behavior, not etcd connectivity.
## Suggested fix
Remove the `etcd.enabled` guard:
```yaml
admin:
enable_admin_ui: {{ .Values.apisix.admin.enable_admin_ui }}
```
## Environment
- Chart: apisix 2.16.0
- APISIX: 3.17.0
- Helm: 3.x
--
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-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] `enable_admin_ui` is not rendered when using external etcd [apisix-helm-chart]
Posted by "AlinsRan (via GitHub)" <gi...@apache.org>.
AlinsRan closed issue #995: `enable_admin_ui` is not rendered when using external etcd
URL: https://github.com/apache/apisix-helm-chart/issues/995
--
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-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org