From 09adcfe6943756d03cd7140deffdff5d67926730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20J=2E=20Salmer=C3=B3n-Garc=C3=ADa?= Date: Tue, 12 Jun 2018 10:41:26 +0200 Subject: [PATCH] [stable/parse] Update dependencies to latest version (#6037) --- stable/parse/Chart.yaml | 2 +- stable/parse/README.md | 2 ++ stable/parse/requirements.lock | 6 +++--- stable/parse/requirements.yaml | 2 +- stable/parse/templates/server-deployment.yaml | 7 +++++++ stable/parse/values.yaml | 5 +++++ 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/stable/parse/Chart.yaml b/stable/parse/Chart.yaml index 189eda026c..67aee1d173 100644 --- a/stable/parse/Chart.yaml +++ b/stable/parse/Chart.yaml @@ -1,5 +1,5 @@ name: parse -version: 1.0.6 +version: 2.0.0 appVersion: 2.8.1 description: Parse is a platform that enables users to add a scalable and powerful backend to launch a full-featured app for iOS, Android, JavaScript, Windows, Unity, and more. keywords: diff --git a/stable/parse/README.md b/stable/parse/README.md index e47a8205d3..bf37e1986c 100644 --- a/stable/parse/README.md +++ b/stable/parse/README.md @@ -71,6 +71,8 @@ The following table lists the configurable parameters of the Parse chart and the | `persistence.storageClass` | PVC Storage Class for Parse volume | `nil` (uses alpha storage class annotation) | | `persistence.accessMode` | PVC Access Mode for Parse volume | `ReadWriteOnce` | | `persistence.size` | PVC Storage Request for Parse volume | `8Gi` | +| `mongodb.usePassword` | Enable MongoDB password authentication | `true` | +| `mongodb.password` | MongoDB admin password | `nil` | | `mongodb.persistence.enabled` | Enable MongoDB persistence using PVC | `true` | | `mongodb.persistence.storageClass` | PVC Storage Class for MongoDB volume | `nil` (uses alpha storage class annotation) | | `mongodb.persistence.accessMode` | PVC Access Mode for MongoDB volume | `ReadWriteOnce` | diff --git a/stable/parse/requirements.lock b/stable/parse/requirements.lock index 342d7af8ed..700a3a7ad7 100644 --- a/stable/parse/requirements.lock +++ b/stable/parse/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: mongodb repository: https://kubernetes-charts.storage.googleapis.com/ - version: 0.4.24 -digest: sha256:13691f4fa1d39a912a1a47710bd95e2442584e6d50a75b222412087ba46770c7 -generated: 2018-04-30T10:49:23.667014102+02:00 + version: 2.0.9 +digest: sha256:cf5e28c1a27636f9471953712706834f87e49cb40be80c303a1436ee7e5016e5 +generated: 2018-06-11T14:45:27.64207443+02:00 diff --git a/stable/parse/requirements.yaml b/stable/parse/requirements.yaml index 75e314fb20..adcdcd326d 100644 --- a/stable/parse/requirements.yaml +++ b/stable/parse/requirements.yaml @@ -1,4 +1,4 @@ dependencies: - name: mongodb - version: 0.4.24 + version: 2.x.x repository: https://kubernetes-charts.storage.googleapis.com/ diff --git a/stable/parse/templates/server-deployment.yaml b/stable/parse/templates/server-deployment.yaml index 2c6fc3f9e6..5edbdc57a0 100644 --- a/stable/parse/templates/server-deployment.yaml +++ b/stable/parse/templates/server-deployment.yaml @@ -45,6 +45,13 @@ spec: value: {{ template "parse.mongodb.fullname" . }} - name: MONGODB_PORT value: "27017" + {{- if .Values.mongodb.usePassword }} + - name: MONGODB_PASSWORD + valueFrom: + secretKeyRef: + name: {{ template "parse.mongodb.fullname" . }} + key: mongodb-root-password + {{- end }} ports: - name: server-http containerPort: {{ .Values.server.port }} diff --git a/stable/parse/values.yaml b/stable/parse/values.yaml index ea189f85c2..9d41642335 100644 --- a/stable/parse/values.yaml +++ b/stable/parse/values.yaml @@ -124,6 +124,11 @@ persistence: ## MongoDB chart configuration ## mongodb: + ## MongoDB Password authentication + usePassword: true + ## If the password is not specified, MongoDB will generate a random password + ## + # mongodbRootPassword: ## Enable persistence using Persistent Volume Claims ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ ##