From 72dcbdf07dd87d6bd703648b2394c6d54ebc83e3 Mon Sep 17 00:00:00 2001
From: groundhog2k <10630407+groundhog2k@users.noreply.github.com>
Date: Fri, 15 Jan 2021 17:33:21 +0100
Subject: [PATCH] Fixes issue with missing fsGroup (#180)

---
 charts/commento/Chart.yaml  | 2 +-
 charts/commento/README.md   | 6 ++++--
 charts/mariadb/Chart.yaml   | 2 +-
 charts/mariadb/README.md    | 4 ++--
 charts/mariadb/values.yaml  | 3 ++-
 charts/rabbitmq/Chart.yaml  | 2 +-
 charts/rabbitmq/README.md   | 4 ++--
 charts/rabbitmq/values.yaml | 3 ++-
 charts/redis/Chart.yaml     | 2 +-
 charts/redis/README.md      | 4 ++--
 charts/redis/values.yaml    | 3 ++-
 11 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/charts/commento/Chart.yaml b/charts/commento/Chart.yaml
index a56aa55f..e588bde5 100644
--- a/charts/commento/Chart.yaml
+++ b/charts/commento/Chart.yaml
@@ -7,7 +7,7 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.1.8
+version: 0.1.9
 
 appVersion: v1.8.0
 
diff --git a/charts/commento/README.md b/charts/commento/README.md
index 79b3f77e..433f89b4 100644
--- a/charts/commento/README.md
+++ b/charts/commento/README.md
@@ -1,6 +1,6 @@
 # Commento
 
-![Version: 0.1.8](https://img.shields.io/badge/Version-0.1.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.8.0](https://img.shields.io/badge/AppVersion-v1.8.0-informational?style=flat-square)
+![Version: 0.1.9](https://img.shields.io/badge/Version-0.1.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.8.0](https://img.shields.io/badge/AppVersion-v1.8.0-informational?style=flat-square)
 
 A Helm chart for Commento on Kubernetes
 
@@ -15,7 +15,9 @@ $ helm install my-release groundhog2k/commento
 
 This chart uses the original [Commmento from Gitlab](https://gitlab.com/commento/commento/container_registry) to deploy Commento in Kubernetes.
 
-**Commento only supports amd64 architecture!**
+## Limitations
+
+The Commento image only supports amd64 architecture!
 
 ## Prerequisites
 
diff --git a/charts/mariadb/Chart.yaml b/charts/mariadb/Chart.yaml
index 346befe9..a241e0d6 100644
--- a/charts/mariadb/Chart.yaml
+++ b/charts/mariadb/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.2.4
+version: 0.2.5
 
 appVersion: "10.5.8"
diff --git a/charts/mariadb/README.md b/charts/mariadb/README.md
index 958bc46e..620ef889 100644
--- a/charts/mariadb/README.md
+++ b/charts/mariadb/README.md
@@ -1,6 +1,6 @@
 # MariaDB
 
-![Version: 0.2.4](https://img.shields.io/badge/Version-0.2.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 10.5.8](https://img.shields.io/badge/AppVersion-10.5.8-informational?style=flat-square)
+![Version: 0.2.5](https://img.shields.io/badge/Version-0.2.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 10.5.8](https://img.shields.io/badge/AppVersion-10.5.8-informational?style=flat-square)
 
 A Helm chart for MariaDB on Kubernetes
 
@@ -59,7 +59,7 @@ $ helm uninstall my-release
 | resources | object | `{}` | Resource limits and requests |
 | nodeSelector | object | `{}` | Deployment node selector |
 | podAnnotations | object | `{}` | Additional pod annotations |
-| podSecurityContext | object | `{}` | Pod security context |
+| podSecurityContext | object | `see values.yaml` | Pod security context |
 | securityContext | object | `see values.yaml` | Container security context |
 | env | list | `[]` | Additional container environmment variables |
 | serviceAccount.annotations | object | `{}` | Additional service account annotations |
diff --git a/charts/mariadb/values.yaml b/charts/mariadb/values.yaml
index 72a4c78f..c75ea991 100644
--- a/charts/mariadb/values.yaml
+++ b/charts/mariadb/values.yaml
@@ -29,7 +29,8 @@ nodeSelector: {}
 podAnnotations: {}
 
 ## Pod security options
-podSecurityContext: {}
+podSecurityContext:
+  fsGroup: 999
 
 ## Default security options to run MariaDB as non-root, read only container without privilege escalation
 securityContext:
diff --git a/charts/rabbitmq/Chart.yaml b/charts/rabbitmq/Chart.yaml
index 54e34656..9003ed45 100644
--- a/charts/rabbitmq/Chart.yaml
+++ b/charts/rabbitmq/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.2.4
+version: 0.2.5
 
 appVersion: 3.8.9
diff --git a/charts/rabbitmq/README.md b/charts/rabbitmq/README.md
index 8b3d7aa0..0535712b 100644
--- a/charts/rabbitmq/README.md
+++ b/charts/rabbitmq/README.md
@@ -1,6 +1,6 @@
 # RabbitMQ
 
-![Version: 0.2.4](https://img.shields.io/badge/Version-0.2.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.8.9](https://img.shields.io/badge/AppVersion-3.8.9-informational?style=flat-square)
+![Version: 0.2.5](https://img.shields.io/badge/Version-0.2.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.8.9](https://img.shields.io/badge/AppVersion-3.8.9-informational?style=flat-square)
 
 A Helm chart for a RabbitMQ cluster on Kubernetes
 
@@ -59,7 +59,7 @@ $ helm uninstall my-release
 | resources | object | `{}` | Resource limits and requests |
 | nodeSelector | object | `{}` | Deployment node selector |
 | podAnnotations | object | `{}` | Additional pod annotations |
-| podSecurityContext | object | `{}` | Pod security context |
+| podSecurityContext | object | `see values.yaml` | Pod security context |
 | securityContext | object | `see values.yaml` | Container security context |
 | env | list | `[]` | Additional container environmment variables |
 | args | list | `[]` | Additional container command arguments |
diff --git a/charts/rabbitmq/values.yaml b/charts/rabbitmq/values.yaml
index 1211b43f..5be3c239 100644
--- a/charts/rabbitmq/values.yaml
+++ b/charts/rabbitmq/values.yaml
@@ -25,7 +25,8 @@ replicaCount: 1
 podAnnotations: {}
 
 ## Pod security options
-podSecurityContext: {}
+podSecurityContext:
+  fsGroup: 999
 
 podManagementPolicy: OrderedReady
 
diff --git a/charts/redis/Chart.yaml b/charts/redis/Chart.yaml
index dffd1b36..b36edea3 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.2.5
+version: 0.2.6
 
 # This is the version number of the application being deployed.
 appVersion: "6.0.10"
diff --git a/charts/redis/README.md b/charts/redis/README.md
index 6052d874..bb27dfa7 100644
--- a/charts/redis/README.md
+++ b/charts/redis/README.md
@@ -1,6 +1,6 @@
 # Redis
 
-![Version: 0.2.5](https://img.shields.io/badge/Version-0.2.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.10](https://img.shields.io/badge/AppVersion-6.0.10-informational?style=flat-square)
+![Version: 0.2.6](https://img.shields.io/badge/Version-0.2.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.10](https://img.shields.io/badge/AppVersion-6.0.10-informational?style=flat-square)
 
 A Helm chart for Redis on Kubernetes
 
@@ -59,7 +59,7 @@ $ helm uninstall my-release
 | resources | object | `{}` | Resource limits and requests |
 | nodeSelector | object | `{}` | Deployment node selector |
 | podAnnotations | object | `{}` | Additional pod annotations |
-| podSecurityContext | object | `{}` | Pod security context |
+| podSecurityContext | object | `see values.yaml` | Pod security context |
 | securityContext | object | `see values.yaml` | Container security context |
 | env | list | `[]` | Additional container environmment variables |
 | args | list | `[]` | Additional container command arguments |
diff --git a/charts/redis/values.yaml b/charts/redis/values.yaml
index b243195b..ff7b428a 100644
--- a/charts/redis/values.yaml
+++ b/charts/redis/values.yaml
@@ -29,7 +29,8 @@ nodeSelector: {}
 podAnnotations: {}
 
 ## Pod security options
-podSecurityContext: {}
+podSecurityContext:
+  fsGroup: 999
 
 ## Default security options to run Redis as non-root, read only container without privilege escalation
 securityContext:
-- 
GitLab