From 62ba4e6b6d9a08a6bee6f61569e24fb7e95bdb33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C2=B2?= Date: Thu, 28 Feb 2019 14:19:24 +0100 Subject: [PATCH] [stable/mongodb-replica-set] Fix metrics livenessProbe and regression in securityContext (#11819) * Fix livenessProbe settings indentation Signed-off-by: Jonathan Amiez * Re-enable security context Was enabled by default before #10682. Signed-off-by: Jonathan Amiez * Bump mongodb-replicaset version Signed-off-by: Jonathan Amiez --- stable/mongodb-replicaset/Chart.yaml | 2 +- stable/mongodb-replicaset/templates/mongodb-statefulset.yaml | 4 ++-- stable/mongodb-replicaset/values.yaml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/stable/mongodb-replicaset/Chart.yaml b/stable/mongodb-replicaset/Chart.yaml index 518e9aba83..95d8c5bbb7 100644 --- a/stable/mongodb-replicaset/Chart.yaml +++ b/stable/mongodb-replicaset/Chart.yaml @@ -1,6 +1,6 @@ name: mongodb-replicaset home: https://github.com/mongodb/mongo -version: 3.9.1 +version: 3.9.2 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/templates/mongodb-statefulset.yaml b/stable/mongodb-replicaset/templates/mongodb-statefulset.yaml index 6c364821d5..9be59c9c01 100644 --- a/stable/mongodb-replicaset/templates/mongodb-statefulset.yaml +++ b/stable/mongodb-replicaset/templates/mongodb-statefulset.yaml @@ -296,8 +296,8 @@ spec: -mongodb.tls-cert=/work-dir/mongo.pem {{- end }} -test - initialDelaySeconds: 30 - periodSeconds: 10 + initialDelaySeconds: 30 + periodSeconds: 10 {{ end }} {{- with .Values.nodeSelector }} nodeSelector: diff --git a/stable/mongodb-replicaset/values.yaml b/stable/mongodb-replicaset/values.yaml index 975e74cbb6..e9c96c8ca5 100644 --- a/stable/mongodb-replicaset/values.yaml +++ b/stable/mongodb-replicaset/values.yaml @@ -66,6 +66,7 @@ metrics: podAnnotations: {} securityContext: + enabled: true runAsUser: 999 fsGroup: 999 runAsNonRoot: true