This commit is contained in:
Valentin Ouvrard
2023-08-21 14:01:58 +11:00
committed by Martin Montes
parent 1e92104e16
commit f88de819e0
20 changed files with 31 additions and 31 deletions

View File

@ -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{

View File

@ -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{

View File

@ -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{

View File

@ -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 }(),

View File

@ -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

View File

@ -8,7 +8,7 @@ spec:
key: password
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306
volumeClaimTemplate:

View File

@ -9,7 +9,7 @@ spec:
key: password
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306
volumeClaimTemplate:

View File

@ -15,7 +15,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -9,7 +9,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -25,7 +25,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -15,7 +15,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -15,7 +15,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -15,7 +15,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -20,7 +20,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -9,7 +9,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -16,7 +16,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -9,7 +9,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -9,7 +9,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -20,7 +20,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306

View File

@ -9,7 +9,7 @@ spec:
image:
repository: mariadb
tag: "11.0.2"
tag: "11.0.3"
pullPolicy: IfNotPresent
port: 3306