Просмотр исходного кода

docs(helm): add metrics part for README

Rory Z 3 лет назад
Родитель
Сommit
8cbb0041d4

+ 2 - 0
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) | |

+ 0 - 2
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

+ 1 - 1
deploy/charts/emqx/values.yaml

@@ -206,5 +206,5 @@ containerSecurityContext:
   runAsUser: 1000
 
 metrics:
-  enabled: true
+  enabled: false
   type: prometheus