Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MariaDB 11.6.2 Version Support #1466

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions catalog/kubedb/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"2022-cu12"
],
"MariaDB": [
"11.6.2",
"11.5.2",
"11.4.3",
"11.3.2",
Expand Down
1 change: 1 addition & 0 deletions catalog/kubedb/backup_tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"xpack-8.2.3"
],
"mariadb-backup-10.5.8": [
"11.6.2",
"11.5.2",
"11.4.3",
"11.3.2",
Expand Down
46 changes: 46 additions & 0 deletions catalog/kubedb/raw/mariadb/mariadb-11.6.2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: MariaDBVersion
metadata:
name: 11.6.2
spec:
archiver:
addon:
name: mariadb-addon
tasks:
fullBackup:
name: logical-backup
fullBackupRestore:
name: logical-backup-restore
manifestBackup:
name: manifest-backup
manifestRestore:
name: manifest-restore
volumeSnapshot:
name: volume-snapshot
walg:
image: ghcr.io/kubedb/mariadb-archiver:(v0.9.0)_11.2.2-jammy
coordinator:
image: ghcr.io/kubedb/mariadb-coordinator:v0.29.0
db:
image: ghcr.io/appscode-images/mariadb:11.6.2-noble
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
runAsUser: 999
stash:
addon:
backupTask:
name: mariadb-backup-10.5.8
restoreTask:
name: mariadb-restore-10.5.8
ui:
- name: phpmyadmin
version: v2024.4.27
updateConstraints:
allowlist:
- '> 11.6.2, <= 11.6.2'
version: 11.6.2
1 change: 1 addition & 0 deletions catalog/kubedb/restore_tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"xpack-8.2.3"
],
"mariadb-restore-10.5.8": [
"11.6.2",
"11.5.2",
"11.4.3",
"11.3.2",
Expand Down
56 changes: 56 additions & 0 deletions charts/kubedb-catalog/templates/mariadb/mariadb-11.6.2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{{ $featureGates := .Values.featureGates }}
{{- if .Values.global }}
{{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }}
{{- end }}

{{ if $featureGates.MariaDB }}

apiVersion: catalog.kubedb.com/v1alpha1
kind: MariaDBVersion
metadata:
name: '11.6.2'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
archiver:
addon:
name: mariadb-addon
tasks:
fullBackup:
name: logical-backup
fullBackupRestore:
name: logical-backup-restore
manifestBackup:
name: manifest-backup
manifestRestore:
name: manifest-restore
volumeSnapshot:
name: volume-snapshot
walg:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-archiver") $) }}:v0.9.0_11.2.2-jammy'
coordinator:
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-coordinator") $) }}:v0.29.0'
db:
image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mariadb") $) }}:11.6.2-noble'
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.2'
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
runAsUser: 999
stash:
addon:
backupTask:
name: mariadb-backup-10.5.8
restoreTask:
name: mariadb-restore-10.5.8
ui:
- name: phpmyadmin
version: v2024.4.27
updateConstraints:
allowlist:
- '> 11.6.2, <= 11.6.2'
version: 11.6.2
{{ end }}