Skip to content

Commit

Permalink
update redis to 3.2.6 (helm#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
prydonius authored and Vic Iglesias committed Jan 29, 2017
1 parent 858f0df commit 48740dd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion stable/redis/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: redis
version: 0.4.2
version: 0.4.3
description: Chart for Redis
keywords:
- redis
Expand Down
2 changes: 1 addition & 1 deletion stable/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The following tables lists the configurable parameters of the Redis chart and th
| Parameter | Description | Default |
| -------------------------- | ----------------------------------- | --------------------------------------------------------- |
| `image` | Redis image | `bitnami/redis:{VERSION}` |
| `imagePullPolicy` | Image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
| `redisPassword` | Redis password | Randomly generated |
| `persistence.enabled` | Use a PVC to persist data | `true` |
| `persistence.storageClass` | Storage class of backing PVC | `generic` |
Expand Down
2 changes: 1 addition & 1 deletion stable/redis/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Redis can be accessed via port 3306 on the following DNS name from within your c

To get your password run:

REDIS_PASSWORD=$(printf $(printf '\%o' `kubectl get secret --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath="{.data.redis-password[*]}"`))
REDIS_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath="{.data.redis-password}" | base64 --decode)

To connect to your Redis server:

Expand Down
6 changes: 3 additions & 3 deletions stable/redis/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
Expand the name of the chart.
*/}}
{{- define "name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 24 -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
{{- end -}}

{{/*
Create a default fully qualified app name.
We truncate at 24 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc 24 -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
5 changes: 2 additions & 3 deletions stable/redis/values.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
## Bitnami Redis image version
## ref: https://hub.docker.com/r/bitnami/redis/tags/
##
image: bitnami/redis:3.2.5-r0
image: bitnami/redis:3.2.6-r2

## Specify a imagePullPolicy
## 'Always' if imageTag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
# imagePullPolicy:
imagePullPolicy: IfNotPresent

## Redis password
## Defaults to a random 10-character alphanumeric string if not set
Expand Down

0 comments on commit 48740dd

Please sign in to comment.