From 1b15972c02dbb8b623cd251bb991d5102c8017cc Mon Sep 17 00:00:00 2001
From: brandt keller <brandt.keller@defenseunicorns.com>
Date: Tue, 22 Feb 2022 15:16:04 -0800
Subject: [PATCH 1/2] Fix: disabling istio injection of job pods

---
 CHANGELOG.md                               | 4 ++++
 README.md                                  | 2 +-
 chart/Chart.yaml                           | 2 +-
 chart/templates/bigbang/redis-upgrade.yaml | 9 ++++-----
 4 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b8c5084..ad898e8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 
 ---
 
+## [16.4.0-bb.1]
+### Changed
+- Removed `curl -X POST http://localhost:15020/quitquitquit` from the command and added `sidecar.istio.io/inject: 'false'` annotation on the the redis-upgrade.yaml file after inconsistent runtime/execution. 
+
 ## [16.4.0-bb.0]
 ### UPGRADE NOTICE
 - Updated to Redis 6.2.5 and 16.4.0 upstream chart
diff --git a/README.md b/README.md
index 4af5df7..90addb4 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # redis
 
-![Version: 16.4.0-bb.0](https://img.shields.io/badge/Version-16.4.0--bb.0-informational?style=flat-square) ![AppVersion: 6.2.5](https://img.shields.io/badge/AppVersion-6.2.5-informational?style=flat-square)
+![Version: 16.4.0-bb.1](https://img.shields.io/badge/Version-16.4.0--bb.0-informational?style=flat-square) ![AppVersion: 6.2.5](https://img.shields.io/badge/AppVersion-6.2.5-informational?style=flat-square)
 
 Redis(TM) is an 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.
 
diff --git a/chart/Chart.yaml b/chart/Chart.yaml
index 1a92260..a4b680d 100644
--- a/chart/Chart.yaml
+++ b/chart/Chart.yaml
@@ -24,4 +24,4 @@ maintainers:
 name: redis
 sources:
   - https://github.com/bitnami/bitnami-docker-redis
-version: 16.4.0-bb.0
+version: 16.4.0-bb.1
diff --git a/chart/templates/bigbang/redis-upgrade.yaml b/chart/templates/bigbang/redis-upgrade.yaml
index 08de842..ec0952a 100644
--- a/chart/templates/bigbang/redis-upgrade.yaml
+++ b/chart/templates/bigbang/redis-upgrade.yaml
@@ -84,6 +84,10 @@ spec:
   template:
     metadata:
       name: redis-clean-upgrade
+      annotations:
+      {{- if .Values.istio.enabled }} 
+        sidecar.istio.io/inject: 'false'
+      {{- end }}
       labels:
         app.kubernetes.io/name: bigbang-redis-upgrade-job
     spec:
@@ -122,11 +126,6 @@ spec:
                 echo "No PVCs to clean up."
               fi
               echo "Done with upgrade steps."
-
-              {{- if .Values.istio.enabled }}
-              echo "Terminating istio sidecar container..."
-              curl -X POST http://localhost:15020/quitquitquit
-              {{- end }}
           {{- if .Values.cleanUpgrade.resources }}
           resources: {{- toYaml .Values.cleanUpgrade.resources | nindent 12 }}
           {{- end }}
-- 
GitLab


From c95aaa3972c92465093c13c230ea6d1490f34578 Mon Sep 17 00:00:00 2001
From: brandt keller <brandt.keller@defenseunicorns.com>
Date: Wed, 23 Feb 2022 06:20:54 -0800
Subject: [PATCH 2/2] Fix: updated readme badge

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 90addb4..792c025 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # redis
 
-![Version: 16.4.0-bb.1](https://img.shields.io/badge/Version-16.4.0--bb.0-informational?style=flat-square) ![AppVersion: 6.2.5](https://img.shields.io/badge/AppVersion-6.2.5-informational?style=flat-square)
+![Version: 16.4.0-bb.1](https://img.shields.io/badge/Version-16.4.0--bb.1-informational?style=flat-square) ![AppVersion: 6.2.5](https://img.shields.io/badge/AppVersion-6.2.5-informational?style=flat-square)
 
 Redis(TM) is an 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.
 
-- 
GitLab