Skip to content

Commit

Permalink
[stable/mongodb-replica-set] Fix metrics livenessProbe and regression…
Browse files Browse the repository at this point in the history
… in securityContext (helm#11819)

* Fix livenessProbe settings indentation

Signed-off-by: Jonathan Amiez <[email protected]>

* Re-enable security context

Was enabled by default before helm#10682.

Signed-off-by: Jonathan Amiez <[email protected]>

* Bump mongodb-replicaset version

Signed-off-by: Jonathan Amiez <[email protected]>
  • Loading branch information
josqu4red authored and k8s-ci-robot committed Feb 28, 2019
1 parent 30369a1 commit 62ba4e6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/mongodb-replicaset/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions stable/mongodb-replicaset/templates/mongodb-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions stable/mongodb-replicaset/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ metrics:
podAnnotations: {}

securityContext:
enabled: true
runAsUser: 999
fsGroup: 999
runAsNonRoot: true
Expand Down

0 comments on commit 62ba4e6

Please sign in to comment.