From f17a8030703d221ab207c19c2d8d645f2058f73a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20J=2E=20Salmer=C3=B3n-Garc=C3=ADa?= Date: Wed, 30 Jun 2021 11:58:35 +0200 Subject: [PATCH] [bitnami/parse] MAJOR: move images to bash (#6681) * [bitnami/parse] MAJOR: move images to bash * [bitnami/parse] Update components versions Signed-off-by: Bitnami Containers Co-authored-by: Bitnami Containers --- bitnami/parse/Chart.lock | 6 +++--- bitnami/parse/Chart.yaml | 2 +- bitnami/parse/README.md | 11 ++++++++++ .../parse/templates/server-deployment.yaml | 10 +++++---- bitnami/parse/values.yaml | 21 ++++++++++++++----- 5 files changed, 37 insertions(+), 13 deletions(-) diff --git a/bitnami/parse/Chart.lock b/bitnami/parse/Chart.lock index 2c54dae7d..90286a89d 100644 --- a/bitnami/parse/Chart.lock +++ b/bitnami/parse/Chart.lock @@ -1,9 +1,9 @@ dependencies: - name: mongodb repository: https://charts.bitnami.com/bitnami - version: 10.20.2 + version: 10.20.5 - name: common repository: https://charts.bitnami.com/bitnami version: 1.6.1 -digest: sha256:df76f3fc244bce3869a9383584a36d0295ecea368d93bb753fa7863dfe28ca62 -generated: "2021-06-22T07:23:40.644230818Z" +digest: sha256:79e47a0d51591a7afbcb872e00fe45d8d9f93df5084e26c44836fd74c482a484 +generated: "2021-06-30T08:58:25.521274045Z" diff --git a/bitnami/parse/Chart.yaml b/bitnami/parse/Chart.yaml index 779512e71..a9c990b98 100644 --- a/bitnami/parse/Chart.yaml +++ b/bitnami/parse/Chart.yaml @@ -30,4 +30,4 @@ sources: - https://github.com/bitnami/bitnami-docker-parse - https://github.com/bitnami/bitnami-docker-parse-dashboard - https://parse.com/ -version: 14.1.12 +version: 15.0.0 diff --git a/bitnami/parse/README.md b/bitnami/parse/README.md index e1f7f8760..e5981561c 100644 --- a/bitnami/parse/README.md +++ b/bitnami/parse/README.md @@ -185,6 +185,9 @@ The following table lists the configurable parameters of the Parse chart and the |------------------------------------|---------------------------------------------|---------------------------------------------| | `mongodb.auth.enabled` | Enable MongoDB® password authentication | `true` | | `mongodb.auth.rootPassword` | MongoDB® admin password | `nil` | +| `mongodb.auth.username` | MongoDB® user | `bn_parse` | +| `mongodb.auth.password` | MongoDB® user password | `` | +| `mongodb.auth.database` | MongoDB® database | `bitnami_parse` | | `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` | @@ -306,6 +309,12 @@ Find more information about how to deal with common errors related to Bitnami’ ## Upgrading +### To 15.0.0 + +The [Bitnami Parse](https://github.com/bitnami/bitnami-docker-parse) and [Bitnami Parse Dashboard](https://github.com/bitnami/bitnami-docker-parse-dashboard) images were refactored and now the source code is published in GitHub in the [`rootfs`](https://github.com/bitnami/bitnami-docker-parse/tree/master/4/debian-10/rootfs) folder of the container images. + +Compatibility is not guaranteed due to the amount of involved changes, however no breaking changes are expected. + ### To 14.0.0 This version standardizes the way of defining Ingress rules. When configuring a single hostname for the Ingress rule, set the `ingress.dashboard.hostname` and `ingress.server.hostname` values. When defining more than one, set the `ingress.dashboard.extraHosts` and `ingress.server.extraHosts` arrays. Apart from this case, no issues are expected to appear when upgrading. @@ -333,6 +342,8 @@ This version standardizes the way of defining Ingress rules. When configuring a - https://helm.sh/docs/topics/v2_v3_migration/ - https://helm.sh/blog/migrate-from-helm-v2-to-helm-v3/ +### To 15.0.0 + ### To 12.0.0 MongoDB® subchart container images were updated to 4.4.x and it can affect compatibility with older versions of MongoDB®. diff --git a/bitnami/parse/templates/server-deployment.yaml b/bitnami/parse/templates/server-deployment.yaml index 418a164fe..cae6fea54 100644 --- a/bitnami/parse/templates/server-deployment.yaml +++ b/bitnami/parse/templates/server-deployment.yaml @@ -76,16 +76,18 @@ spec: key: master-key - name: PARSE_ENABLE_CLOUD_CODE value: {{ ternary "yes" "no" .Values.server.enableCloudCode | quote }} - - name: MONGODB_HOST + - name: PARSE_DATABASE_HOST value: {{ include "parse.mongodb.fullname" . }} - - name: MONGODB_PORT + - name: PARSE_DATABASE_PORT_NUMBER value: "27017" {{- if .Values.mongodb.auth.enabled }} - - name: MONGODB_PASSWORD + - name: PARSE_DATABASE_USER + value: {{ .Values.mongodb.auth.username | quote }} + - name: PARSE_DATABASE_PASSWORD valueFrom: secretKeyRef: name: {{ include "parse.mongodb.fullname" . }} - key: mongodb-root-password + key: mongodb-password {{- end }} {{- if .Values.server.extraEnvVars }} {{- include "common.tplvalues.render" ( dict "value" .Values.server.extraEnvVars "context" $ ) | nindent 12 }} diff --git a/bitnami/parse/values.yaml b/bitnami/parse/values.yaml index 39a6a63ec..383411c2b 100644 --- a/bitnami/parse/values.yaml +++ b/bitnami/parse/values.yaml @@ -36,7 +36,7 @@ volumePermissions: image: registry: docker.io repository: bitnami/bitnami-shell - tag: 10-debian-10-r114 + tag: 10-debian-10-r120 pullPolicy: Always ## Optionally specify an array of imagePullSecrets. ## Secrets must be manually created in the namespace. @@ -76,7 +76,7 @@ server: image: registry: docker.io repository: bitnami/parse - tag: 4.9.3-debian-10-r165 + tag: 4.9.3-debian-10-r170 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images @@ -239,7 +239,7 @@ dashboard: image: registry: docker.io repository: bitnami/parse-dashboard - tag: 2.1.0-debian-10-r392 + tag: 2.1.0-debian-10-r397 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images @@ -417,7 +417,6 @@ ingress: ## - name: wordpress.local ## path: / ## - ## Any additional arbitrary paths that may need to be added to the ingress under the main host. ## For example: The ALB ingress controller requires a special rule for handling SSL redirection. ## extraPaths: @@ -447,7 +446,6 @@ ingress: ## - name: wordpress.local ## path: / ## - ## Any additional arbitrary paths that may need to be added to the ingress under the main host. ## For example: The ALB ingress controller requires a special rule for handling SSL redirection. ## extraPaths: @@ -516,6 +514,19 @@ mongodb: ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#setting-the-root-password-on-first-run ## rootPassword: "" + + ## MongoDB(R) username + ## + username: bn_parse + + ## MongoDB(R) password + ## + password: "" + + ## MongoDB(R) database + ## + database: bitnami_parse + ## Enable persistence using Persistent Volume Claims ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ ##