[stable/mongodb-replica-set] Fix metrics livenessProbe and regression in securityContext (#11819)

* Fix livenessProbe settings indentation

Signed-off-by: Jonathan Amiez <jonathan.amiez@gmail.com>

* Re-enable security context

Was enabled by default before #10682.

Signed-off-by: Jonathan Amiez <jonathan.amiez@gmail.com>

* Bump mongodb-replicaset version

Signed-off-by: Jonathan Amiez <jonathan.amiez@gmail.com>
This commit is contained in:
Jo²
2019-02-28 05:19:24 -08:00
committed by Kubernetes Prow Robot
parent 30369a1020
commit 62ba4e6b6d
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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.
@@ -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:
+1
View File
@@ -66,6 +66,7 @@ metrics:
podAnnotations: {}
securityContext:
enabled: true
runAsUser: 999
fsGroup: 999
runAsNonRoot: true