[stable/redis] release 1.0.0 (#2380)

* redis: mount persistent volume at `/bitnami`

* redis: upgrade to redis 4.0 image

* redis: bump version to `0.11.0`, new minor series

* redis: bump chart version to 1.0.0 and update the `appVersion`

* redis: updated volume mountpath mention in readme

* redis: replace use of `initContainers` with the specification of `securityContext`

* fix linter errors
This commit is contained in:
Sameer Naik
2017-10-24 09:50:13 +01:00
committed by Adnan Abdulhussein
parent 1bdba61c19
commit 7fa06cdef6
4 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
name: redis
version: 0.10.2
appVersion: 3.2.9
version: 1.0.0
appVersion: 4.0.2
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:
- redis
+1 -1
View File
@@ -104,7 +104,7 @@ after a successful install.
## Persistence
The [Bitnami Redis](https://github.com/bitnami/bitnami-docker-redis) image stores the Redis data and configurations at the `/bitnami/redis` path of the container.
The [Bitnami Redis](https://github.com/bitnami/bitnami-docker-redis) image stores the Redis data and configurations at the `/bitnami` path of the container.
By default, the chart mounts a [Persistent Volume](http://kubernetes.io/docs/user-guide/persistent-volumes/) volume at this location. The volume is created using dynamic volume provisioning. If a Persistent Volume Claim already exists, specify it during installation.
+4 -1
View File
@@ -13,6 +13,9 @@ spec:
labels:
app: {{ template "redis.fullname" . }}
spec:
securityContext:
runAsUser: 1001
fsGroup: 1001
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
@@ -61,7 +64,7 @@ spec:
{{ toYaml .Values.resources | indent 10 }}
volumeMounts:
- name: redis-data
mountPath: /bitnami/redis
mountPath: /bitnami
{{- if .Values.metrics.enabled }}
- name: metrics
image: "{{ .Values.metrics.image }}:{{ .Values.metrics.imageTag }}"
+1 -2
View File
@@ -1,7 +1,7 @@
## Bitnami Redis image version
## ref: https://hub.docker.com/r/bitnami/redis/tags/
##
image: bitnami/redis:3.2.9-r2
image: bitnami/redis:4.0.2-r0
## Specify a imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -86,4 +86,3 @@ networkPolicy:
## (with the correct destination port).
##
allowExternal: true