Skip to content

Commit

Permalink
Merge pull request #329 from rackerlabs/mariadb-operator-0.26.0
Browse files Browse the repository at this point in the history
chore: bump mariadb operator to 0.26.0
  • Loading branch information
skrobul authored Sep 23, 2024
2 parents 6dd8b9c + 42169f2 commit f1487e1
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 36 deletions.
6 changes: 3 additions & 3 deletions components/glance/glance-mariadb-db.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: glance
Expand All @@ -14,7 +14,7 @@ spec:
collate: utf8_general_ci
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: User
metadata:
name: glance
Expand All @@ -33,7 +33,7 @@ spec:
host: "%"
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: glance-grant
Expand Down
6 changes: 3 additions & 3 deletions components/horizon/horizon-mariadb-db.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: horizon
Expand All @@ -14,7 +14,7 @@ spec:
collate: utf8_general_ci
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: User
metadata:
name: horizon
Expand All @@ -33,7 +33,7 @@ spec:
host: "%"
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: horizon-grant
Expand Down
6 changes: 3 additions & 3 deletions components/ironic/ironic-mariadb-db.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: ironic
Expand All @@ -14,7 +14,7 @@ spec:
collate: utf8_general_ci
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: User
metadata:
name: ironic
Expand All @@ -33,7 +33,7 @@ spec:
host: "%"
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: ironic-grant
Expand Down
6 changes: 3 additions & 3 deletions components/keystone/keystone-mariadb-db.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: keystone
Expand All @@ -14,7 +14,7 @@ spec:
collate: utf8_general_ci
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: User
metadata:
name: keystone
Expand All @@ -33,7 +33,7 @@ spec:
host: "%"
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: keystone-grant
Expand Down
6 changes: 3 additions & 3 deletions components/neutron/neutron-mariadb-db.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: neutron
Expand All @@ -14,7 +14,7 @@ spec:
collate: utf8_general_ci
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: User
metadata:
name: neutron
Expand All @@ -33,7 +33,7 @@ spec:
host: "%"
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: neutron-grant
Expand Down
4 changes: 2 additions & 2 deletions components/nova/nova-api-mariadb-db.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: nova-api
Expand All @@ -13,7 +13,7 @@ spec:
collate: utf8_general_ci
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: nova-api-grant
Expand Down
4 changes: 2 additions & 2 deletions components/nova/nova-cell0-mariadb-db.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: nova-cell0
Expand All @@ -13,7 +13,7 @@ spec:
collate: utf8_general_ci
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: nova-cell0-grant
Expand Down
6 changes: 3 additions & 3 deletions components/nova/nova-mariadb-db.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: nova
Expand All @@ -14,7 +14,7 @@ spec:
collate: utf8_general_ci
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: User
metadata:
name: nova
Expand All @@ -33,7 +33,7 @@ spec:
host: "%"
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: nova-grant
Expand Down
26 changes: 19 additions & 7 deletions components/openstack/mariadb-instance.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: MariaDB
metadata:
name: mariadb # this name is referenced by other resource kinds
Expand All @@ -8,16 +8,15 @@ spec:
name: mariadb
key: root-password

# renovate: image:mariadb
image: mariadb:11.0.3
imagePullPolicy: IfNotPresent

port: 3306
volumeClaimTemplate:
resources:
requests:
storage: 10Gi
accessModes:
- ReadWriteOnce
storage:
size: 10Gi
resizeInUseVolumes: true
waitForVolumeResize: true

service:
type: ClusterIP
Expand All @@ -29,6 +28,19 @@ spec:
binlog_format=row
innodb_autoinc_lock_mode=2
max_allowed_packet=256M
# ArgoCD diff for server side apply
myCnfConfigMapKeyRef:
key: my.cnf
name: mariadb-config

metrics:
enabled: true
# ArgoCD diff due to server side apply
exporter:
image: prom/mysqld-exporter:v0.15.1
port: 9104
passwordSecretKeyRef:
key: password
name: mariadb-metrics-password
serviceMonitor: {}
username: mariadb-metrics
6 changes: 3 additions & 3 deletions components/placement/placement-mariadb-db.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: placement
Expand All @@ -14,7 +14,7 @@ spec:
collate: utf8_general_ci
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: User
metadata:
name: placement
Expand All @@ -33,7 +33,7 @@ spec:
host: "%"
retryInterval: 5s
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: placement-grant
Expand Down
6 changes: 3 additions & 3 deletions docs/openstack-helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ to run the [db-init][db-init] and [db-drop][db-drop] jobs by utilizing the
correct operator resources.

```yaml
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: User
---
apiVersion: mariadb.mmontes.io/v1alpha1
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
```
Expand Down
2 changes: 1 addition & 1 deletion operators/mariadb-operator/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ helmCharts:
namespace: mariadb-operator
valuesFile: values.yaml
releaseName: mariadb-operator
version: 0.24.0
version: 0.27.0
repo: https://mariadb-operator.github.io/mariadb-operator

0 comments on commit f1487e1

Please sign in to comment.