From 9086b22e98d04ea51d8f022caa9b70efd3fb1c21 Mon Sep 17 00:00:00 2001 From: Rico Berger Date: Tue, 19 May 2020 23:58:18 +0200 Subject: [PATCH] Update MongoDB Exporter (#22241) Signed-off-by: ricoberger --- stable/mongodb-replicaset/Chart.yaml | 2 +- stable/mongodb-replicaset/README.md | 2 -- stable/mongodb-replicaset/templates/mongodb-statefulset.yaml | 2 -- stable/mongodb-replicaset/values.yaml | 4 +--- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/stable/mongodb-replicaset/Chart.yaml b/stable/mongodb-replicaset/Chart.yaml index 515eb483a0..e78e410c46 100644 --- a/stable/mongodb-replicaset/Chart.yaml +++ b/stable/mongodb-replicaset/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: mongodb-replicaset home: https://github.com/mongodb/mongo -version: 3.15.0 +version: 3.15.1 appVersion: 3.6 description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications. diff --git a/stable/mongodb-replicaset/README.md b/stable/mongodb-replicaset/README.md index bf52e3b115..222df763ca 100644 --- a/stable/mongodb-replicaset/README.md +++ b/stable/mongodb-replicaset/README.md @@ -79,8 +79,6 @@ The following table lists the configurable parameters of the mongodb chart and t | `metrics.securityContext.enabled` | Enable security context | `true` | | `metrics.securityContext.fsGroup` | Group ID for the metrics container | `1001` | | `metrics.securityContext.runAsUser` | User ID for the metrics container | `1001` | -| `metrics.socketTimeout` | Time to wait for a non-responding socket | `3s` | -| `metrics.syncTimeout` | Time an operation with this session will wait before returning an error | `1m` | | `metrics.prometheusServiceDiscovery`| Adds annotations for Prometheus ServiceDiscovery | `true` | | `auth.enabled` | If `true`, keyfile access control is enabled | `false` | | `auth.key` | Key for internal authentication | `` | diff --git a/stable/mongodb-replicaset/templates/mongodb-statefulset.yaml b/stable/mongodb-replicaset/templates/mongodb-statefulset.yaml index 3ab6c79a62..9afeda09fb 100644 --- a/stable/mongodb-replicaset/templates/mongodb-statefulset.yaml +++ b/stable/mongodb-replicaset/templates/mongodb-statefulset.yaml @@ -251,8 +251,6 @@ spec: - >- /bin/mongodb_exporter --mongodb.uri {{ template "mongodb-replicaset.connection-string" . }} - --mongodb.socket-timeout={{ .Values.metrics.socketTimeout }} - --mongodb.sync-timeout={{ .Values.metrics.syncTimeout }} --web.telemetry-path={{ .Values.metrics.path }} --web.listen-address=:{{ .Values.metrics.port }} volumeMounts: diff --git a/stable/mongodb-replicaset/values.yaml b/stable/mongodb-replicaset/values.yaml index b485abc295..c9b87996c7 100644 --- a/stable/mongodb-replicaset/values.yaml +++ b/stable/mongodb-replicaset/values.yaml @@ -67,12 +67,10 @@ metrics: enabled: false image: repository: bitnami/mongodb-exporter - tag: 0.10.0-debian-9-r71 + tag: 0.11.0 pullPolicy: IfNotPresent port: 9216 path: "/metrics" - socketTimeout: 3s - syncTimeout: 1m prometheusServiceDiscovery: true resources: {} securityContext: