diff --git a/stable/redis-ha/Chart.yaml b/stable/redis-ha/Chart.yaml index 179ab774f4..660e9bf337 100644 --- a/stable/redis-ha/Chart.yaml +++ b/stable/redis-ha/Chart.yaml @@ -5,7 +5,7 @@ keywords: - redis - keyvalue - database -version: 3.1.6 +version: 3.2.0 appVersion: 5.0.3 description: Highly available Kubernetes implementation of Redis icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png diff --git a/stable/redis-ha/templates/redis-ha-statefulset.yaml b/stable/redis-ha/templates/redis-ha-statefulset.yaml index 1fc9062e72..3fde614608 100644 --- a/stable/redis-ha/templates/redis-ha-statefulset.yaml +++ b/stable/redis-ha/templates/redis-ha-statefulset.yaml @@ -30,6 +30,9 @@ spec: labels: release: {{ .Release.Name }} app: {{ template "redis-ha.name" . }} + {{- range $key, $value := .Values.labels }} + {{ $key }}: {{ $value }} + {{- end }} spec: {{- if .Values.nodeSelector }} nodeSelector: diff --git a/stable/redis-ha/values.yaml b/stable/redis-ha/values.yaml index ced15a008c..6e118f064b 100644 --- a/stable/redis-ha/values.yaml +++ b/stable/redis-ha/values.yaml @@ -8,6 +8,9 @@ image: ## replicas number for each component replicas: 3 +## Custom labels for the redis pod +labels: {} + ## Redis specific configuration options redis: port: 6379