Skip to content

Commit

Permalink
Add mariadb 10.4.31
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Nov 1, 2023
1 parent 5133551 commit 26055fe
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions catalog/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"10.10.2",
"10.6.4",
"10.5.8",
"10.4.31",
"10.4.17"
],
"Memcached": [
Expand Down
1 change: 1 addition & 0 deletions catalog/backup_tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"10.10.2",
"10.6.4",
"10.5.8",
"10.4.31",
"10.4.17"
],
"mongodb-backup-3.4.17": [
Expand Down
22 changes: 22 additions & 0 deletions catalog/raw/mariadb/mariadb-10.4.31.yaml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions catalog/restore_tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"10.10.2",
"10.6.4",
"10.5.8",
"10.4.31",
"10.4.17"
],
"mongodb-restore-3.4.17": [
Expand Down
26 changes: 26 additions & 0 deletions charts/kubedb-catalog/templates/mariadb/mariadb-10.4.31.yaml
Original file line number Diff line number Diff line change
@@ -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 "catalog.registry" (merge (dict "_reg" "ghcr.io" "_repo" "kubedb") .Values) }}/mariadb-coordinator:v0.16.0'
db:
image: '{{ include "official.registry" (merge (dict "_bin" "mariadb") .Values) }}:10.4.31'
exporter:
image: '{{ include "catalog.registry" (merge (dict "_reg" "" "_repo" "prom") .Values) }}/mysqld-exporter:v0.13.0'
initContainer:
image: '{{ include "catalog.registry" (merge (dict "_reg" "ghcr.io" "_repo" "kubedb") .Values) }}/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 }}

0 comments on commit 26055fe

Please sign in to comment.