From d5d8588a9c389e3e990ec8e1a1ec79c69afabad0 Mon Sep 17 00:00:00 2001
From: Goeran Poehner <goeran.poehner@gmail.com>
Date: Fri, 30 Sep 2022 12:17:55 +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 +++---
 charts/postgres/Chart.yaml                | 4 ++--
 charts/postgres/RELEASENOTES.md           | 1 +
 7 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/charts/mariadb/Chart.yaml b/charts/mariadb/Chart.yaml
index 9622df5a..9083858b 100644
--- a/charts/mariadb/Chart.yaml
+++ b/charts/mariadb/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.6.3
+version: 0.2.23
 
-appVersion: "10.9.3"
+appVersion: "10.5.17"
diff --git a/charts/mariadb/RELEASENOTES.md b/charts/mariadb/RELEASENOTES.md
index 5f7b8d02..385f589c 100644
--- a/charts/mariadb/RELEASENOTES.md
+++ b/charts/mariadb/RELEASENOTES.md
@@ -8,6 +8,7 @@
 | 0.2.20 | 10.5.15 | Upgraded MariaDB to 10.5.15 |
 | 0.2.21 | 10.5.16 | Upgraded MariaDB to 10.5.16 |
 | 0.2.22 | 10.5.17 | Upgraded MariaDB to 10.5.17 |
+| 0.2.23 | 10.5.17 | Implemented support for custom inline init scripts and image.registry option |
 | 0.3.1 | 10.6.5 | Implemented startupProbe support |
 | 0.3.2 | 10.6.5 | Implemented support for extra secrets and advanced configuration capabilites |
 | 0.3.3 | 10.6.5 | Implemented support for extra containers |
diff --git a/charts/mongodb/Chart.yaml b/charts/mongodb/Chart.yaml
index 311a55d8..337ec8f7 100644
--- a/charts/mongodb/Chart.yaml
+++ b/charts/mongodb/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.5.2
+version: 0.3.17
 
-appVersion: "6.0.1"
+appVersion: "4.4.17"
diff --git a/charts/mongodb/RELEASENOTES.md b/charts/mongodb/RELEASENOTES.md
index 7a1040d3..209c2fe1 100644
--- a/charts/mongodb/RELEASENOTES.md
+++ b/charts/mongodb/RELEASENOTES.md
@@ -19,6 +19,7 @@
 | 0.3.14 | 4.4.14 | Upgraded to MongoDB 4.4.14 |
 | 0.3.15 | 4.4.15 | Upgraded to MongoDB 4.4.15 |
 | 0.3.16 | 4.4.16 | Upgraded to MongoDB 4.4.16 |
+| 0.3.17 | 4.4.17 | Upgraded to MongoDB 4.4.17 |
 | 0.4.1 | 5.0.5 | Implemented startupProbe support |
 | 0.4.2 | 5.0.6 | Upgraded to MongoDB 5.0.6 |
 | 0.4.3 | 5.0.6 | Implemented support for extra secrets and advanced configuration capabilites |
diff --git a/charts/mongodb/templates/statefulset.yaml b/charts/mongodb/templates/statefulset.yaml
index 1ae34bae..1bf50035 100644
--- a/charts/mongodb/templates/statefulset.yaml
+++ b/charts/mongodb/templates/statefulset.yaml
@@ -95,7 +95,7 @@ spec:
               command:
                 - /bin/sh
                 - -c
-                - mongosh --eval "db.adminCommand('ping')"
+                - mongo --eval "db.adminCommand('ping')"
           {{- with .Values.startupProbe }}
             initialDelaySeconds: {{ .initialDelaySeconds }}
             timeoutSeconds: {{ .timeoutSeconds }}
@@ -115,7 +115,7 @@ spec:
               command:
                 - /bin/sh
                 - -c
-                - mongosh --eval "db.adminCommand('ping')"
+                - mongo --eval "db.adminCommand('ping')"
           {{- with .Values.livenessProbe }}
             initialDelaySeconds: {{ .initialDelaySeconds }}
             timeoutSeconds: {{ .timeoutSeconds }}
@@ -135,7 +135,7 @@ spec:
               command:
                 - /bin/sh
                 - -c
-                - mongosh --eval "db.adminCommand('ping')"
+                - mongo --eval "db.adminCommand('ping')"
           {{- with .Values.readinessProbe }}
             initialDelaySeconds: {{ .initialDelaySeconds }}
             timeoutSeconds: {{ .timeoutSeconds }}
diff --git a/charts/postgres/Chart.yaml b/charts/postgres/Chart.yaml
index afcd31ae..5e1ec097 100644
--- a/charts/postgres/Chart.yaml
+++ b/charts/postgres/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.3.13
+version: 0.2.22
 
-appVersion: "14.5"
+appVersion: "13.8"
diff --git a/charts/postgres/RELEASENOTES.md b/charts/postgres/RELEASENOTES.md
index 26bda53a..cd7d83dc 100644
--- a/charts/postgres/RELEASENOTES.md
+++ b/charts/postgres/RELEASENOTES.md
@@ -8,6 +8,7 @@
 | 0.2.19 | 13.6 | Upgraded to Postgres 13.6 |
 | 0.2.20 | 13.7 | Upgraded to Postgres 13.7 |
 | 0.2.21 | 13.8 | Upgraded to Postgres 13.8 |
+| 0.2.22 | 13.8 | Implemented support for custom inline init scripts and image.registry option |
 | 0.3.4 | 14.1 | Fixes bug with wrong mounted customConfig #811 |
 | 0.3.5 | 14.1 | Updated readme and release notes |
 | 0.3.6 | 14.1 | Implemented support for extra secrets and advanced configuration capabilites |
-- 
GitLab