From ffed0aa01cd5f01cebe9e1e7cdf5d44d7a45425f Mon Sep 17 00:00:00 2001 From: bitnami-bot Date: Wed, 6 Feb 2019 10:36:44 +0000 Subject: [PATCH] Synchronize upstreamed folder to 08c82581a --- upstreamed/ghost/Chart.yaml | 4 ++-- upstreamed/ghost/values.yaml | 2 +- upstreamed/mongodb/Chart.yaml | 4 ++-- upstreamed/mongodb/values-production.yaml | 2 +- upstreamed/mongodb/values.yaml | 2 +- upstreamed/redis/Chart.yaml | 2 +- upstreamed/redis/README.md | 7 +++++++ upstreamed/redis/templates/redis-master-statefulset.yaml | 2 +- upstreamed/redis/values-production.yaml | 1 + upstreamed/redis/values.yaml | 1 + 10 files changed, 18 insertions(+), 9 deletions(-) diff --git a/upstreamed/ghost/Chart.yaml b/upstreamed/ghost/Chart.yaml index cb629baa2..1be252ad7 100644 --- a/upstreamed/ghost/Chart.yaml +++ b/upstreamed/ghost/Chart.yaml @@ -1,6 +1,6 @@ name: ghost -version: 6.3.6 -appVersion: 2.13.1 +version: 6.3.7 +appVersion: 2.13.2 description: A simple, powerful publishing platform that allows you to share your stories with the world keywords: - ghost diff --git a/upstreamed/ghost/values.yaml b/upstreamed/ghost/values.yaml index da0eedfde..985e354b5 100644 --- a/upstreamed/ghost/values.yaml +++ b/upstreamed/ghost/values.yaml @@ -10,7 +10,7 @@ image: registry: docker.io repository: bitnami/ghost - tag: 2.13.1 + tag: 2.13.2 ## 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 diff --git a/upstreamed/mongodb/Chart.yaml b/upstreamed/mongodb/Chart.yaml index d66cbc239..f762d1cdb 100644 --- a/upstreamed/mongodb/Chart.yaml +++ b/upstreamed/mongodb/Chart.yaml @@ -1,6 +1,6 @@ name: mongodb -version: 5.3.1 -appVersion: 4.0.5 +version: 5.3.2 +appVersion: 4.0.6 description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications. keywords: - mongodb diff --git a/upstreamed/mongodb/values-production.yaml b/upstreamed/mongodb/values-production.yaml index 051b3bf2d..5e357d9f6 100644 --- a/upstreamed/mongodb/values-production.yaml +++ b/upstreamed/mongodb/values-production.yaml @@ -14,7 +14,7 @@ image: ## Bitnami MongoDB image tag ## ref: https://hub.docker.com/r/bitnami/mongodb/tags/ ## - tag: 4.0.5 + tag: 4.0.6 ## Specify a imagePullPolicy ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images diff --git a/upstreamed/mongodb/values.yaml b/upstreamed/mongodb/values.yaml index 822230053..d24a6527a 100644 --- a/upstreamed/mongodb/values.yaml +++ b/upstreamed/mongodb/values.yaml @@ -14,7 +14,7 @@ image: ## Bitnami MongoDB image tag ## ref: https://hub.docker.com/r/bitnami/mongodb/tags/ ## - tag: 4.0.5 + tag: 4.0.6 ## Specify a imagePullPolicy ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images diff --git a/upstreamed/redis/Chart.yaml b/upstreamed/redis/Chart.yaml index eb1657b94..7a0801888 100644 --- a/upstreamed/redis/Chart.yaml +++ b/upstreamed/redis/Chart.yaml @@ -1,5 +1,5 @@ name: redis -version: 5.5.0 +version: 6.0.0 appVersion: 4.0.12 description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. keywords: diff --git a/upstreamed/redis/README.md b/upstreamed/redis/README.md index bbb662c16..7290f48e5 100644 --- a/upstreamed/redis/README.md +++ b/upstreamed/redis/README.md @@ -167,6 +167,7 @@ The following table lists the configurable parameters of the Redis chart and the | `master.readinessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed (redis master pod) | `1` | | `master.readinessProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded. | `5` | | `master.priorityClassName` | Redis Master pod priorityClassName | {} | +| `volumePermissions.enabled` | Enable init container that changes volume permissions in the registry (for cases where the default k8s `runAsUser` and `fsUser` values do not work) | `false` | | `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` | | `volumePermissions.image.repository` | Init container volume-permissions image name | `bitnami/minideb` | | `volumePermissions.image.tag` | Init container volume-permissions image tag | `latest` | @@ -276,3 +277,9 @@ sysctlImage: sysctl -w net.core.somaxconn=10000 echo never > /host-sys/kernel/mm/transparent_hugepage/enabled ``` + +## Upgrade + +## To 6.0.0 + +Previous versions of the chart were using an init-container to change the permissions of the volumes. This was done in case the `securityContext` directive in the template was not enough for that (for example, with cephFS). In this new version of the chart, this container is disabled by default (which should not affect most of the deployments). If your installation still requires that init container, execute `helm upgrade` with the `--set volumePermissions.enabled=true`. diff --git a/upstreamed/redis/templates/redis-master-statefulset.yaml b/upstreamed/redis/templates/redis-master-statefulset.yaml index af1cf571d..d2089e428 100644 --- a/upstreamed/redis/templates/redis-master-statefulset.yaml +++ b/upstreamed/redis/templates/redis-master-statefulset.yaml @@ -152,7 +152,7 @@ spec: - name: config mountPath: /opt/bitnami/redis/etc {{- end }} - {{- $needsVolumePermissions := and ( and .Values.master.persistence.enabled (not .Values.persistence.existingClaim) ) .Values.master.securityContext.enabled }} + {{- $needsVolumePermissions := and .Values.volumePermissions.enabled (and ( and .Values.master.persistence.enabled (not .Values.persistence.existingClaim) ) .Values.master.securityContext.enabled) }} {{- if or $needsVolumePermissions .Values.sysctlImage.enabled }} initContainers: {{- if $needsVolumePermissions }} diff --git a/upstreamed/redis/values-production.yaml b/upstreamed/redis/values-production.yaml index 09d83bcd0..30e87804b 100644 --- a/upstreamed/redis/values-production.yaml +++ b/upstreamed/redis/values-production.yaml @@ -364,6 +364,7 @@ metrics: ## volumePermissions: Change the owner of the persist volume mountpoint to RunAsUser:fsGroup ## volumePermissions: + enabled: false image: registry: docker.io repository: bitnami/minideb diff --git a/upstreamed/redis/values.yaml b/upstreamed/redis/values.yaml index adcb31dab..c6dedfba8 100644 --- a/upstreamed/redis/values.yaml +++ b/upstreamed/redis/values.yaml @@ -365,6 +365,7 @@ metrics: ## volumePermissions: Change the owner of the persist volume mountpoint to RunAsUser:fsGroup ## volumePermissions: + enabled: false image: registry: docker.io repository: bitnami/minideb