mirror of
https://github.com/mariadb-operator/mariadb-operator.git
synced 2025-07-22 18:27:44 +00:00
feat(upgrade): upgrade MariaDB to 11.0.3 - https://mariadb.com/kb/en/mariadb-11-0-3-release-notes/
This commit is contained in:

committed by
Martin Montes

parent
1e92104e16
commit
f88de819e0
@ -317,7 +317,7 @@ var _ = Describe("MariaDB webhook", func() {
|
||||
ContainerTemplate: ContainerTemplate{
|
||||
Image: Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
PullPolicy: corev1.PullIfNotPresent,
|
||||
},
|
||||
},
|
||||
@ -363,7 +363,7 @@ var _ = Describe("MariaDB webhook", func() {
|
||||
ContainerTemplate: ContainerTemplate{
|
||||
Image: Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
PullPolicy: corev1.PullIfNotPresent,
|
||||
},
|
||||
},
|
||||
@ -417,7 +417,7 @@ var _ = Describe("MariaDB webhook", func() {
|
||||
ContainerTemplate: ContainerTemplate{
|
||||
Image: Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
PullPolicy: corev1.PullIfNotPresent,
|
||||
},
|
||||
},
|
||||
@ -467,7 +467,7 @@ var _ = Describe("MariaDB webhook", func() {
|
||||
ContainerTemplate: ContainerTemplate{
|
||||
Image: Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
Resources: &corev1.ResourceRequirements{
|
||||
Requests: corev1.ResourceList{
|
||||
@ -708,7 +708,7 @@ var _ = Describe("MariaDB webhook", func() {
|
||||
ContainerTemplate: ContainerTemplate{
|
||||
Image: Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
},
|
||||
RootPasswordSecretKeyRef: corev1.SecretKeySelector{
|
||||
@ -759,7 +759,7 @@ var _ = Describe("MariaDB webhook", func() {
|
||||
ContainerTemplate: ContainerTemplate{
|
||||
Image: Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
},
|
||||
RootPasswordSecretKeyRef: corev1.SecretKeySelector{
|
||||
|
@ -31,7 +31,7 @@ var _ = Describe("MariaDB", func() {
|
||||
|
||||
It("Should reconcile", func() {
|
||||
By("Expecting to have spec provided by user and defaults")
|
||||
Expect(testMariaDb.Spec.Image.String()).To(Equal("mariadb:11.0.2"))
|
||||
Expect(testMariaDb.Spec.Image.String()).To(Equal("mariadb:11.0.3"))
|
||||
Expect(testMariaDb.Spec.Port).To(BeEquivalentTo(3306))
|
||||
|
||||
By("Expecting to create a ConfigMap eventually")
|
||||
@ -137,7 +137,7 @@ var _ = Describe("MariaDB", func() {
|
||||
ContainerTemplate: mariadbv1alpha1.ContainerTemplate{
|
||||
Image: mariadbv1alpha1.Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
},
|
||||
BootstrapFrom: &mariadbv1alpha1.RestoreSource{
|
||||
@ -199,7 +199,7 @@ var _ = Describe("MariaDB", func() {
|
||||
ContainerTemplate: mariadbv1alpha1.ContainerTemplate{
|
||||
Image: mariadbv1alpha1.Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
},
|
||||
VolumeClaimTemplate: mariadbv1alpha1.VolumeClaimTemplate{
|
||||
@ -247,7 +247,7 @@ var _ = Describe("MariaDB", func() {
|
||||
ContainerTemplate: mariadbv1alpha1.ContainerTemplate{
|
||||
Image: mariadbv1alpha1.Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
},
|
||||
BootstrapFrom: &mariadbv1alpha1.RestoreSource{
|
||||
@ -306,7 +306,7 @@ var _ = Describe("MariaDB", func() {
|
||||
ContainerTemplate: mariadbv1alpha1.ContainerTemplate{
|
||||
Image: mariadbv1alpha1.Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
},
|
||||
RootPasswordSecretKeyRef: corev1.SecretKeySelector{
|
||||
@ -373,7 +373,7 @@ var _ = Describe("MariaDB replication", func() {
|
||||
ContainerTemplate: mariadbv1alpha1.ContainerTemplate{
|
||||
Image: mariadbv1alpha1.Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
},
|
||||
RootPasswordSecretKeyRef: corev1.SecretKeySelector{
|
||||
@ -585,7 +585,7 @@ var _ = Describe("MariaDB Galera", func() {
|
||||
ContainerTemplate: mariadbv1alpha1.ContainerTemplate{
|
||||
Image: mariadbv1alpha1.Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
},
|
||||
RootPasswordSecretKeyRef: corev1.SecretKeySelector{
|
||||
|
@ -87,7 +87,7 @@ var _ = Describe("Restore controller", func() {
|
||||
ContainerTemplate: mariadbv1alpha1.ContainerTemplate{
|
||||
Image: mariadbv1alpha1.Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
},
|
||||
RootPasswordSecretKeyRef: corev1.SecretKeySelector{
|
||||
|
@ -88,7 +88,7 @@ func createTestData(ctx context.Context, k8sClient client.Client) {
|
||||
ContainerTemplate: mariadbv1alpha1.ContainerTemplate{
|
||||
Image: mariadbv1alpha1.Image{
|
||||
Repository: "mariadb",
|
||||
Tag: "11.0.2",
|
||||
Tag: "11.0.3",
|
||||
},
|
||||
SecurityContext: &corev1.SecurityContext{
|
||||
AllowPrivilegeEscalation: func() *bool { b := false; return &b }(),
|
||||
|
@ -153,7 +153,7 @@ kubectl get mariadb mariadb-galera -o jsonpath="{.status.conditions[?(@.type=='G
|
||||
|
||||
kubectl get statefulsets -o wide
|
||||
NAME READY AGE CONTAINERS IMAGES
|
||||
mariadb-galera 3/3 58m mariadb,agent mariadb:11.0.2,ghcr.io/mariadb-operator/agent:v0.0.2
|
||||
mariadb-galera 3/3 58m mariadb,agent mariadb:11.0.3,ghcr.io/mariadb-operator/agent:v0.0.2
|
||||
|
||||
kubectl get pods -o wide
|
||||
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
|
||||
|
@ -8,7 +8,7 @@ spec:
|
||||
key: password
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
port: 3306
|
||||
volumeClaimTemplate:
|
||||
|
@ -9,7 +9,7 @@ spec:
|
||||
key: password
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
port: 3306
|
||||
volumeClaimTemplate:
|
||||
|
@ -15,7 +15,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -9,7 +9,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -25,7 +25,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -15,7 +15,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -15,7 +15,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -15,7 +15,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -20,7 +20,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -9,7 +9,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -16,7 +16,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -9,7 +9,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -9,7 +9,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -20,7 +20,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
@ -9,7 +9,7 @@ spec:
|
||||
|
||||
image:
|
||||
repository: mariadb
|
||||
tag: "11.0.2"
|
||||
tag: "11.0.3"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
port: 3306
|
||||
|
Reference in New Issue
Block a user