diff --git a/deploy/charts/emqx/README.md b/deploy/charts/emqx/README.md index 20e0e6b7e..af96c4124 100644 --- a/deploy/charts/emqx/README.md +++ b/deploy/charts/emqx/README.md @@ -78,4 +78,6 @@ The following table lists the configurable parameters of the emqx chart and thei | `ingress.mgmt.hosts` | Ingress hosts for EMQX Mgmt API | api.emqx.local | | `ingress.mgmt.tls` | Ingress tls for EMQX Mgmt API | [] | | `ingress.mgmt.annotations` | Ingress annotations for EMQX Mgmt API | {} | +| `metrics.enable` | If set to true, [prometheus-operator](https://github.com/prometheus-operator/prometheus-operator) needs to be installed, and emqx_prometheus needs to enable | false | +| `metrics.type` | Now we only supported "prometheus" | "prometheus" | | `emqxConfig` | Emqx configuration item, see the [documentation](https://hub.docker.com/r/emqx/emqx) | | diff --git a/deploy/charts/emqx/templates/secret.yaml b/deploy/charts/emqx/templates/secret.yaml index f2ff16f6a..447326769 100644 --- a/deploy/charts/emqx/templates/secret.yaml +++ b/deploy/charts/emqx/templates/secret.yaml @@ -17,5 +17,3 @@ stringData: password: {{ .Values.emqxConfig.EMQX_DASHBOARD__DEFAULT_PASSWORD}} {{- end }} {{- end }} - -# this credentials are not configurable \ No newline at end of file diff --git a/deploy/charts/emqx/values.yaml b/deploy/charts/emqx/values.yaml index 2bccefeee..6e6aa1859 100644 --- a/deploy/charts/emqx/values.yaml +++ b/deploy/charts/emqx/values.yaml @@ -206,5 +206,5 @@ containerSecurityContext: runAsUser: 1000 metrics: - enabled: true + enabled: false type: prometheus