From c2615f5b480c21a394c3477118dfac2ceb81da8b Mon Sep 17 00:00:00 2001
From: groundhog2k <10630407+groundhog2k@users.noreply.github.com>
Date: Fri, 11 Dec 2020 16:48:50 +0100
Subject: [PATCH] Updated redis chart to use multi-arch image (#112)

---
 charts/redis/Chart.yaml  | 2 +-
 charts/redis/README.md   | 5 ++---
 charts/redis/values.yaml | 5 ++---
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/charts/redis/Chart.yaml b/charts/redis/Chart.yaml
index 2962cc77..5b2fba98 100644
--- a/charts/redis/Chart.yaml
+++ b/charts/redis/Chart.yaml
@@ -8,7 +8,7 @@ maintainers:
   - name: groundhog2k
 
 # This is the chart version
-version: 0.1.2
+version: 0.2.0
 
 # This is the version number of the application being deployed.
 appVersion: "6.0.9"
diff --git a/charts/redis/README.md b/charts/redis/README.md
index 071fcd2d..b0b2fbb4 100644
--- a/charts/redis/README.md
+++ b/charts/redis/README.md
@@ -1,6 +1,6 @@
 # Redis
 
-![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.9](https://img.shields.io/badge/AppVersion-6.0.9-informational?style=flat-square)
+![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.9](https://img.shields.io/badge/AppVersion-6.0.9-informational?style=flat-square)
 
 A Helm chart for Redis on Kubernetes
 
@@ -15,8 +15,7 @@ $ helm install my-release groundhog2k/redis
 
 This chart uses the original [Redis image from Docker Hub](https://hub.docker.com/_/redis/) to deploy a stateful Redis instance in a Kubernetes cluster.
 
-It allows fully supports the deployment of the [ARM64v8 image of Redis](https://hub.docker.com/r/arm64v8/redis/) on a ARM64 based Kubernetes cluster just by exchanging the existing `image.repository` value.
-
+It fully supports deployment of arm64v8 and amd64 multi-architecture docker image. Just set the `nodeSelector` value to `kubernetes.io/arch: "arm64"` (default is `"amd64"`)
 
 ## Prerequisites
 
diff --git a/charts/redis/values.yaml b/charts/redis/values.yaml
index 8dbad67b..cb886d08 100644
--- a/charts/redis/values.yaml
+++ b/charts/redis/values.yaml
@@ -1,7 +1,6 @@
 ## Default values for Redis deployment
 
 ## Redis docker image
-## use arm64v8/redis for the same image on ARM64v8
 image:
   repository: redis
   pullPolicy: IfNotPresent
@@ -24,7 +23,7 @@ serviceAccount:
   name: ""
 
 ## Default node type for the image
-## use arm64v8 for the arm64v8/redis image
+## use arm64 for the arm64v8/redis image
 nodeSelector:
   kubernetes.io/arch: amd64
 
@@ -63,7 +62,7 @@ affinity: {}
 ## Default liveness probe
 livenessProbe:
   enabled: true
-  initialDelaySeconds: 30
+  initialDelaySeconds: 15
   timeoutSeconds: 5
   failureThreshold: 3
   successThreshold: 1
-- 
GitLab