From d6f0351b748b8d8db29190dba5e11df9742e1b2b Mon Sep 17 00:00:00 2001
From: Goeran Poehner <goeran.poehner@gmail.com>
Date: Fri, 30 Sep 2022 12:24:48 +0200
Subject: [PATCH] Updated latest features to old chart versions

---
 charts/mariadb/Chart.yaml                 | 4 ++--
 charts/mariadb/RELEASENOTES.md            | 1 +
 charts/mongodb/Chart.yaml                 | 4 ++--
 charts/mongodb/RELEASENOTES.md            | 1 +
 charts/mongodb/templates/statefulset.yaml | 6 +++---
 5 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/charts/mariadb/Chart.yaml b/charts/mariadb/Chart.yaml
index 9083858b..92a91c4d 100644
--- a/charts/mariadb/Chart.yaml
+++ b/charts/mariadb/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.2.23
+version: 0.3.8
 
-appVersion: "10.5.17"
+appVersion: "10.6.10"
diff --git a/charts/mariadb/RELEASENOTES.md b/charts/mariadb/RELEASENOTES.md
index 385f589c..7eaae6a7 100644
--- a/charts/mariadb/RELEASENOTES.md
+++ b/charts/mariadb/RELEASENOTES.md
@@ -16,6 +16,7 @@
 | 0.3.5 | 10.6.8 | Upgraded MariaDB to 10.6.8 |
 | 0.3.6 | 10.6.9 | Upgraded MariaDB to 10.6.9 |
 | 0.3.7 | 10.6.10 | Upgraded MariaDB to 10.6.10 |
+| 0.3.8 | 10.6.10 | Implemented support for custom inline init scripts and image.registry option |
 | 0.4.1 | 10.7.1 | Implemented startupProbe support |
 | 0.4.2 | 10.7.1 | Implemented support for extra secrets and advanced configuration capabilites |
 | 0.4.3 | 10.7.1 | Implemented support for extra containers |
diff --git a/charts/mongodb/Chart.yaml b/charts/mongodb/Chart.yaml
index 337ec8f7..39bc9c4f 100644
--- a/charts/mongodb/Chart.yaml
+++ b/charts/mongodb/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.3.17
+version: 0.4.11
 
-appVersion: "4.4.17"
+appVersion: "5.0.13"
diff --git a/charts/mongodb/RELEASENOTES.md b/charts/mongodb/RELEASENOTES.md
index 209c2fe1..f8cbcb6f 100644
--- a/charts/mongodb/RELEASENOTES.md
+++ b/charts/mongodb/RELEASENOTES.md
@@ -30,6 +30,7 @@
 | 0.4.8 | 5.0.10 | Upgraded to MongoDB 5.0.10 |
 | 0.4.9 | 5.0.11 | Upgraded to MongoDB 5.0.11 |
 | 0.4.10 | 5.0.12 | Upgraded to MongoDB 5.0.12 |
+| 0.4.11 | 5.0.13 | Upgraded to MongoDB 5.0.13 |
 | 0.5.0 | 6.0.1 | Upgraded to MongoDB 6.0.1 |
 | 0.5.1 | 6.0.1 | Implemented support for custom inline init scripts |
 | 0.5.2 | 6.0.1 | Implemented support for image.registry option |
diff --git a/charts/mongodb/templates/statefulset.yaml b/charts/mongodb/templates/statefulset.yaml
index 1bf50035..1ae34bae 100644
--- a/charts/mongodb/templates/statefulset.yaml
+++ b/charts/mongodb/templates/statefulset.yaml
@@ -95,7 +95,7 @@ spec:
               command:
                 - /bin/sh
                 - -c
-                - mongo --eval "db.adminCommand('ping')"
+                - mongosh --eval "db.adminCommand('ping')"
           {{- with .Values.startupProbe }}
             initialDelaySeconds: {{ .initialDelaySeconds }}
             timeoutSeconds: {{ .timeoutSeconds }}
@@ -115,7 +115,7 @@ spec:
               command:
                 - /bin/sh
                 - -c
-                - mongo --eval "db.adminCommand('ping')"
+                - mongosh --eval "db.adminCommand('ping')"
           {{- with .Values.livenessProbe }}
             initialDelaySeconds: {{ .initialDelaySeconds }}
             timeoutSeconds: {{ .timeoutSeconds }}
@@ -135,7 +135,7 @@ spec:
               command:
                 - /bin/sh
                 - -c
-                - mongo --eval "db.adminCommand('ping')"
+                - mongosh --eval "db.adminCommand('ping')"
           {{- with .Values.readinessProbe }}
             initialDelaySeconds: {{ .initialDelaySeconds }}
             timeoutSeconds: {{ .timeoutSeconds }}
-- 
GitLab