From 76e51ef29f00984f4e71cc72cadbccea78364486 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=B6ran=20P=C3=B6hner?=
 <10630407+groundhog2k@users.noreply.github.com>
Date: Wed, 10 Jan 2024 09:31:33 +0100
Subject: [PATCH] Updated redis chart for Redis 7.0.15

* Updated redis chart for Redis 7.0.15
---
 charts/redis/Chart.yaml                   | 4 ++--
 charts/redis/README.md                    | 2 ++
 charts/redis/RELEASENOTES.md              | 1 +
 charts/redis/templates/networkpolicy.yaml | 8 ++++++++
 4 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/charts/redis/Chart.yaml b/charts/redis/Chart.yaml
index 4969f4d6..d890c88e 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.7.9"
+version: "0.6.17"
 
 # This is the version number of the application being deployed.
-appVersion: "7.2.3"
+appVersion: "7.0.15"
diff --git a/charts/redis/README.md b/charts/redis/README.md
index b330fa44..e4221145 100644
--- a/charts/redis/README.md
+++ b/charts/redis/README.md
@@ -196,6 +196,8 @@ The policyTypes will be automatically set
 
 | Key | Type | Default | Description |
 |-----|------|---------|-------------|
+| networkPolicy.annotations | object | `{}` | Additional network policy annotations |
+| networkPolicy.labels | object | `{}` | Additional network policy labels |
 | networkPolicy.ingress | object | `{}` | Ingress network policies |
 | networkPolicy.egress | object | `{}` | Egress network policies |
 
diff --git a/charts/redis/RELEASENOTES.md b/charts/redis/RELEASENOTES.md
index f60ab38e..5e5c7174 100644
--- a/charts/redis/RELEASENOTES.md
+++ b/charts/redis/RELEASENOTES.md
@@ -39,6 +39,7 @@
 | 0.6.14 | 7.0.12 | Updated metrics exporter to v1.51.0 |
 | 0.6.15 | 7.0.13 | Upgraded to Redis 7.0.13 |
 | 0.6.16 | 7.0.14 | Upgraded to Redis 7.0.14 |
+| 0.6.17 | 7.0.15 | Upgraded to Redis 7.0.15 |
 | 0.7.0 | 7.2.0 | Upgraded to Redis 7.2.0 |
 | 0.7.1 | 7.2.1 | Upgraded to Redis 7.2.1 |
 | 0.7.2 | 7.2.1 | Upgraded to Redis 7.2.1 |
diff --git a/charts/redis/templates/networkpolicy.yaml b/charts/redis/templates/networkpolicy.yaml
index 28ceb540..ac68d06c 100644
--- a/charts/redis/templates/networkpolicy.yaml
+++ b/charts/redis/templates/networkpolicy.yaml
@@ -3,6 +3,14 @@ apiVersion: networking.k8s.io/v1
 kind: NetworkPolicy
 metadata:
   name: {{ include "redis.fullname" $ }}
+  {{- with .labels }}
+  labels:
+    {{- toYaml . | nindent 4 }}
+  {{- end }}
+  {{- with .annotations }}
+  annotations:
+    {{- toYaml . | nindent 4 }}
+  {{- end }}
 spec:
   podSelector:
     matchLabels:
-- 
GitLab