apisix-helm-chart icon indicating copy to clipboard operation
apisix-helm-chart copied to clipboard

Missing plugins field in Dashboard ConfigMap

Open jbmolle opened this issue 2 years ago • 0 comments

Hi, When I use the dashboard helm chart and I click on the Plugin button in the sidebar, I get an error and the page won't be displayed because the API call to /apisix/admin/plugins?all=true returns data: null. The Dashboard ConfigMap (and therefore conf.yaml for manager-api) doesn't have a plugins field.

Could we add the following in the ConfigMap template after the authentication block to select the available plugins in the dashboard:

{{- with .Values.config.plugins }}
plugins:
  {{- range . }}
  - {{ . }}
  {{- end }}
{{- end }}

jbmolle avatar Sep 08 '23 07:09 jbmolle