Skip to content

Commit

Permalink
Add Support for MariaDB Replication
Browse files Browse the repository at this point in the history
Signed-off-by: SK Ali Arman <[email protected]>
  • Loading branch information
sheikh-arman authored and tamalsaha committed Jan 30, 2025
1 parent b2a4c40 commit 89f014a
Show file tree
Hide file tree
Showing 36 changed files with 180 additions and 36 deletions.
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/deprecated-mariadb-10.10.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/deprecated-mariadb-10.11.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/deprecated-mariadb-10.4.17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
stash:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/deprecated-mariadb-10.4.31.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/deprecated-mariadb-10.5.8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
stash:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/deprecated-mariadb-10.6.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-10.10.7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-10.11.6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-10.4.32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-10.5.23.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-10.6.16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-11.0.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-11.1.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-11.2.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-11.3.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-11.4.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-11.5.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion catalog/kubedb/raw/mariadb/mariadb-11.6.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ spec:
exporter:
image: prom/mysqld-exporter:v0.13.0
initContainer:
image: ghcr.io/kubedb/mariadb-init:0.5.2
image: ghcr.io/kubedb/mariadb-init:0.5.3
maxscale:
image: mariadb/maxscale:24.02.4
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
stash:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
stash:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion charts/kubedb-catalog/templates/mariadb/mariadb-10.10.7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion charts/kubedb-catalog/templates/mariadb/mariadb-10.11.6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion charts/kubedb-catalog/templates/mariadb/mariadb-10.4.32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion charts/kubedb-catalog/templates/mariadb/mariadb-10.5.23.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion charts/kubedb-catalog/templates/mariadb/mariadb-10.6.16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
6 changes: 5 additions & 1 deletion charts/kubedb-catalog/templates/mariadb/mariadb-11.0.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ spec:
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'
image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mariadb-init") $) }}:0.5.3'
maxscale:
image: '{{ include "image.dockerHub" (merge (dict "_repo" "mariadb/maxscale") $) }}:24.02.4'
securityContext:
runAsUser: 995
podSecurityPolicies:
databasePolicyName: maria-db
securityContext:
Expand Down
Loading

0 comments on commit 89f014a

Please sign in to comment.