Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Commit 61b955a

Browse files
baijumpmacik
authored andcommitted
Update version of PerconaXtraDBCluster and Crunchy Postgres Operator
Signed-off-by: Baiju Muthukadan <[email protected]> Signed-off-by: Pavel Macík <[email protected]>
1 parent 130d04a commit 61b955a

File tree

3 files changed

+22
-21
lines changed

3 files changed

+22
-21
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash -e
22

3-
OLM_VERSION=0.18.1
3+
OLM_VERSION=0.21.2
44
OPERATOR_CHANNEL=${OPERATOR_CHANNEL:-beta}
55
OPERATOR_PACKAGE=${OPERATOR_PACKAGE:-service-binding-operator}
66
DOCKER_CFG=${DOCKER_CFG:-$HOME/.docker/config.json}
@@ -97,4 +97,4 @@ until [[ $retries == 0 ]]; do
9797
sleep 5
9898
retries=$(($retries - 1))
9999
done
100-
kubectl rollout status -w deployment/service-binding-operator -n $OPERATOR_NAMESPACE
100+
kubectl rollout status -w deployment/service-binding-operator -n $OPERATOR_NAMESPACE

test/acceptance/features/steps/crunchypostgresoperator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self, name="pgo"):
1313
else:
1414
self.operator_catalog_source_name = "operatorhubio-catalog"
1515
self.package_name = "postgresql"
16-
self.operator_subscription_csv_version = "postgresoperator.v5.0.5"
16+
self.operator_subscription_csv_version = "postgresoperator.v5.1.2"
1717
self.operator_catalog_channel = "v5"
1818

1919

test/acceptance/features/supportExistingOperatorBackedServices.feature

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ Feature: Support a number of existing operator-backed services out of the box
103103
metadata:
104104
name: hippo
105105
spec:
106-
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:centos8-13.4-1
107-
postgresVersion: 13
106+
image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.4-0
107+
postgresVersion: 14
108108
instances:
109109
- name: instance1
110110
dataVolumeClaimSpec:
@@ -115,7 +115,7 @@ Feature: Support a number of existing operator-backed services out of the box
115115
storage: 1Gi
116116
backups:
117117
pgbackrest:
118-
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:centos8-2.35-0
118+
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.38-2
119119
repos:
120120
- name: repo1
121121
volume:
@@ -178,20 +178,20 @@ Feature: Support a number of existing operator-backed services out of the box
178178
* Generic test application is running
179179
* The Custom Resource is present
180180
"""
181-
apiVersion: pxc.percona.com/v1-10-0
181+
apiVersion: pxc.percona.com/v1
182182
kind: PerconaXtraDBCluster
183183
metadata:
184184
name: minimal-cluster
185185
spec:
186-
crVersion: 1.10.0
186+
crVersion: 1.11.0
187187
secretsName: minimal-cluster-secrets
188188
allowUnsafeConfigurations: true
189189
upgradeOptions:
190190
apply: 8.0-recommended
191191
schedule: "0 4 * * *"
192192
pxc:
193193
size: 1
194-
image: percona/percona-xtradb-cluster:8.0.23-14.1
194+
image: percona/percona-xtradb-cluster:8.0.27-18.1
195195
volumeSpec:
196196
persistentVolumeClaim:
197197
resources:
@@ -200,10 +200,10 @@ Feature: Support a number of existing operator-backed services out of the box
200200
haproxy:
201201
enabled: true
202202
size: 1
203-
image: perconalab/percona-xtradb-cluster-operator:main-haproxy
203+
image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy
204204
logcollector:
205205
enabled: true
206-
image: perconalab/percona-xtradb-cluster-operator:main-logcollector
206+
image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector
207207
"""
208208
* Condition ready=True for PerconaXtraDBCluster/minimal-cluster resource is met
209209
When Service Binding is applied
@@ -215,7 +215,7 @@ Feature: Support a number of existing operator-backed services out of the box
215215
spec:
216216
services:
217217
- group: pxc.percona.com
218-
version: v1-10-0
218+
version: v1
219219
kind: PerconaXtraDBCluster
220220
name: minimal-cluster
221221
application:
@@ -225,7 +225,7 @@ Feature: Support a number of existing operator-backed services out of the box
225225
resource: deployments
226226
"""
227227
Then Service Binding is ready
228-
And Kind PerconaXtraDBCluster with apiVersion pxc.percona.com/v1-10-0 is listed in bindable kinds
228+
And Kind PerconaXtraDBCluster with apiVersion pxc.percona.com/v1 is listed in bindable kinds
229229
And Content of file "/bindings/$scenario_id/type" in application pod is
230230
"""
231231
mysql
@@ -249,25 +249,26 @@ Feature: Support a number of existing operator-backed services out of the box
249249
And File "/bindings/$scenario_id/password" exists in application pod
250250
And Application can connect to the projected MySQL database
251251

252+
@disable-github-actions
252253
Scenario: Bind test application to Mysql provisioned by Percona Mysql operator
253254
Given Percona Mysql operator is running
254255
* Generic test application is running
255256
* The Custom Resource is present
256257
"""
257-
apiVersion: pxc.percona.com/v1-10-0
258+
apiVersion: pxc.percona.com/v1
258259
kind: PerconaXtraDBCluster
259260
metadata:
260261
name: minimal-cluster
261262
spec:
262-
crVersion: 1.10.0
263+
crVersion: 1.11.0
263264
secretsName: minimal-cluster-secrets
264265
allowUnsafeConfigurations: true
265266
upgradeOptions:
266267
apply: 8.0-recommended
267268
schedule: "0 4 * * *"
268269
pxc:
269270
size: 1
270-
image: percona/percona-xtradb-cluster:8.0.23-14.1
271+
image: percona/percona-xtradb-cluster:8.0.27-18.1
271272
volumeSpec:
272273
persistentVolumeClaim:
273274
resources:
@@ -276,10 +277,10 @@ Feature: Support a number of existing operator-backed services out of the box
276277
haproxy:
277278
enabled: true
278279
size: 1
279-
image: perconalab/percona-xtradb-cluster-operator:main-haproxy
280+
image: percona/percona-xtradb-cluster-operator:1.11.0-haproxy
280281
logcollector:
281282
enabled: true
282-
image: perconalab/percona-xtradb-cluster-operator:main-logcollector
283+
image: percona/percona-xtradb-cluster-operator:1.11.0-logcollector
283284
"""
284285
When Service Binding is applied
285286
"""
@@ -290,7 +291,7 @@ Feature: Support a number of existing operator-backed services out of the box
290291
spec:
291292
services:
292293
- group: pxc.percona.com
293-
version: v1-10-0
294+
version: v1
294295
kind: PerconaXtraDBCluster
295296
name: minimal-cluster
296297
application:
@@ -300,7 +301,7 @@ Feature: Support a number of existing operator-backed services out of the box
300301
resource: deployments
301302
"""
302303
Then Service Binding is ready
303-
And Kind PerconaXtraDBCluster with apiVersion pxc.percona.com/v1-10-0 is listed in bindable kinds
304+
And Kind PerconaXtraDBCluster with apiVersion pxc.percona.com/v1 is listed in bindable kinds
304305
And Content of file "/bindings/$scenario_id/type" in application pod is
305306
"""
306307
mysql
@@ -503,4 +504,4 @@ Feature: Support a number of existing operator-backed services out of the box
503504
And Content of file "/bindings/$scenario_id/host" in application pod is
504505
"""
505506
mongo-cluster-rs0.$NAMESPACE.svc.cluster.local
506-
"""
507+
"""

0 commit comments

Comments
 (0)