From cf31a1da5c709d9427895c7e64eff454453e228b Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Wed, 1 Nov 2023 00:37:48 -0700 Subject: [PATCH] Add MariaDB 10.4.31 Signed-off-by: Tamal Saha --- catalog/active_versions.json | 1 + catalog/backup_tasks.json | 1 + catalog/raw/mariadb/mariadb-10.4.31.yaml | 22 ++++++++++++++++ catalog/restore_tasks.json | 1 + .../templates/mariadb/mariadb-10.4.31.yaml | 26 +++++++++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 catalog/raw/mariadb/mariadb-10.4.31.yaml create mode 100644 charts/kubedb-catalog/templates/mariadb/mariadb-10.4.31.yaml diff --git a/catalog/active_versions.json b/catalog/active_versions.json index 19dadede3..d18fca32b 100644 --- a/catalog/active_versions.json +++ b/catalog/active_versions.json @@ -87,6 +87,7 @@ "10.10.2", "10.6.4", "10.5.8", + "10.4.31", "10.4.17" ], "Memcached": [ diff --git a/catalog/backup_tasks.json b/catalog/backup_tasks.json index 66b62fc67..142cc3a84 100644 --- a/catalog/backup_tasks.json +++ b/catalog/backup_tasks.json @@ -90,6 +90,7 @@ "10.10.2", "10.6.4", "10.5.8", + "10.4.31", "10.4.17" ], "mongodb-backup-3.4.17": [ diff --git a/catalog/raw/mariadb/mariadb-10.4.31.yaml b/catalog/raw/mariadb/mariadb-10.4.31.yaml new file mode 100644 index 000000000..c4805c5cd --- /dev/null +++ b/catalog/raw/mariadb/mariadb-10.4.31.yaml @@ -0,0 +1,22 @@ +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MariaDBVersion +metadata: + name: 10.4.31 +spec: + coordinator: + image: ghcr.io/kubedb/mariadb-coordinator:v0.16.0 + db: + image: mariadb:10.4.31 + exporter: + image: prom/mysqld-exporter:v0.13.0 + initContainer: + image: ghcr.io/kubedb/mariadb-init:0.5.0 + podSecurityPolicies: + databasePolicyName: maria-db + stash: + addon: + backupTask: + name: mariadb-backup-10.5.8 + restoreTask: + name: mariadb-restore-10.5.8 + version: 10.4.31 diff --git a/catalog/restore_tasks.json b/catalog/restore_tasks.json index be1d7cca1..df2f554f9 100644 --- a/catalog/restore_tasks.json +++ b/catalog/restore_tasks.json @@ -90,6 +90,7 @@ "10.10.2", "10.6.4", "10.5.8", + "10.4.31", "10.4.17" ], "mongodb-restore-3.4.17": [ diff --git a/charts/kubedb-catalog/templates/mariadb/mariadb-10.4.31.yaml b/charts/kubedb-catalog/templates/mariadb/mariadb-10.4.31.yaml new file mode 100644 index 000000000..01a379eee --- /dev/null +++ b/charts/kubedb-catalog/templates/mariadb/mariadb-10.4.31.yaml @@ -0,0 +1,26 @@ +{{ if .Values.catalog.mariadb }} +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MariaDBVersion +metadata: + name: '10.4.31' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + coordinator: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-coordinator") $) }}:v0.16.0' + db: + image: '{{ include "image.dockerLibrary" (merge (dict "_repo" "mariadb") $) }}:10.4.31' + exporter: + image: '{{ include "image.dockerHub" (merge (dict "_repo" "prom/mysqld-exporter") $) }}:v0.13.0' + initContainer: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.0' + podSecurityPolicies: + databasePolicyName: maria-db + stash: + addon: + backupTask: + name: mariadb-backup-10.5.8 + restoreTask: + name: mariadb-restore-10.5.8 + version: 10.4.31 +{{ end }}