Skip to content

Commit 1346995

Browse files
authored
Merge pull request #80 from jiaoshuntian/5.0dev
update for ivyo 5.0
2 parents 20a1255 + e67969d commit 1346995

22 files changed

Lines changed: 71 additions & 58 deletions

File tree

.github/workflows/test.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ jobs:
6464
with:
6565
k3s-channel: "${{ matrix.kubernetes }}"
6666
prefetch-images: |
67-
docker.io/ivorysql/pgbackrest:ubi8-2.54.1-4.0-1
68-
docker.io/ivorysql/pgbouncer:ubi8-1.23.0-4.0-1
69-
docker.io/ivorysql/ivorysql:ubi8-4.5-4.0-1
67+
docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1
68+
docker.io/ivorysql/pgbouncer:ubi8-1.23.0-5.0-1
69+
docker.io/ivorysql/ivorysql:ubi8-5.0-5.0-1
7070
7171
- run: make createnamespaces check-envtest-existing
7272
env:
@@ -98,12 +98,12 @@ jobs:
9898
with:
9999
k3s-channel: "${{ matrix.kubernetes }}"
100100
prefetch-images: |
101-
docker.io/ivorysql/pgadmin:ubi8-8.14.0-4.0-1
102-
docker.io/ivorysql/pgbackrest:ubi8-2.54.1-4.0-1
103-
docker.io/ivorysql/pgbouncer:ubi8-1.23.0-4.0-1
104-
docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-4.0-1
105-
docker.io/ivorysql/ivorysql:ubi8-4.5-4.0-1
106-
docker.io/ivorysql/postgis:ubi8-3.4-4.0-1
101+
docker.io/ivorysql/pgadmin:ubi8-9.9-5.0-1
102+
docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1
103+
docker.io/ivorysql/pgbouncer:ubi8-1.23.0-5.0-1
104+
docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-5.0-1
105+
docker.io/ivorysql/ivorysql:ubi8-5.0-5.0-1
106+
docker.io/ivorysql/postgis:ubi8-3.5-5.0-1
107107
registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi8-5.3.1-0
108108
- run: go mod download
109109
- name: Build executable
@@ -118,13 +118,13 @@ jobs:
118118
docker run --detach --network host --read-only \
119119
--volume "$(pwd):/mnt" --workdir '/mnt' --env 'PATH=/mnt/bin' \
120120
--env 'KUBECONFIG=hack/.kube/ivory-operator/ivyo' \
121-
--env 'RELATED_IMAGE_PGADMIN=docker.io/ivorysql/pgadmin:ubi8-8.14.0-4.0-1' \
122-
--env 'RELATED_IMAGE_PGBACKREST=docker.io/ivorysql/pgbackrest:ubi8-2.54.1-4.0-1' \
123-
--env 'RELATED_IMAGE_PGBOUNCER=docker.io/ivorysql/pgbouncer:ubi8-1.23.0-4.0-1' \
124-
--env 'RELATED_IMAGE_PGEXPORTER=docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-4.0-1' \
121+
--env 'RELATED_IMAGE_PGADMIN=docker.io/ivorysql/pgadmin:ubi8-9.9-5.0-1' \
122+
--env 'RELATED_IMAGE_PGBACKREST=docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1' \
123+
--env 'RELATED_IMAGE_PGBOUNCER=docker.io/ivorysql/pgbouncer:ubi8-1.23.0-5.0-1' \
124+
--env 'RELATED_IMAGE_PGEXPORTER=docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-5.0-1' \
125125
--env 'RELATED_IMAGE_PGUPGRADE=registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi8-5.3.1-0' \
126-
--env 'RELATED_IMAGE_IVORY_17=docker.io/ivorysql/ivorysql:ubi8-4.5-4.0-1' \
127-
--env 'RELATED_IMAGE_IVORY_17_GIS_3.4=docker.io/ivorysql/postgis:ubi8-3.4-4.0-1' \
126+
--env 'RELATED_IMAGE_IVORY_18=docker.io/ivorysql/ivorysql:ubi8-5.0-5.0-1' \
127+
--env 'RELATED_IMAGE_IVORY_18_GIS_3.5=docker.io/ivorysql/postgis:ubi8-3.5-5.0-1' \
128128
--env 'IVYO_FEATURE_GATES=TablespaceVolumes=true' \
129129
--name 'ivory-operator' ubuntu \
130130
ivory-operator
@@ -135,11 +135,11 @@ jobs:
135135
136136
- run: make generate-kuttl
137137
env:
138-
KUTTL_PG_UPGRADE_FROM_VERSION: '17'
139-
KUTTL_PG_UPGRADE_TO_VERSION: '17'
140-
KUTTL_PG_VERSION: '17'
141-
KUTTL_POSTGIS_VERSION: '3.4'
142-
KUTTL_IVORY_IMAGE: 'docker.io/ivorysql/ivorysql:ubi8-4.5-4.0-1'
138+
KUTTL_PG_UPGRADE_FROM_VERSION: '18'
139+
KUTTL_PG_UPGRADE_TO_VERSION: '18'
140+
KUTTL_PG_VERSION: '18'
141+
KUTTL_POSTGIS_VERSION: '3.5'
142+
KUTTL_IVORY_IMAGE: 'docker.io/ivorysql/ivorysql:ubi8-5.0-5.0-1'
143143
- run: |
144144
make check-kuttl && exit
145145
failed=$?

config/crd/bases/ivory-operator.ivorysql.org_ivoryclusters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10468,7 +10468,7 @@ spec:
1046810468
postgresVersion:
1046910469
description: The major version of PostgreSQL installed in the PostgreSQL
1047010470
image
10471-
maximum: 17
10471+
maximum: 18
1047210472
minimum: 10
1047310473
type: integer
1047410474
proxy:

config/crd/bases/ivory-operator.ivorysql.org_ivyupgrades.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ spec:
857857
type: object
858858
fromIvoryVersion:
859859
description: The major version of IvorySQL before the upgrade.
860-
maximum: 17
860+
maximum: 18
861861
minimum: 10
862862
type: integer
863863
image:
@@ -936,7 +936,7 @@ spec:
936936
type: string
937937
toIvoryVersion:
938938
description: The major version of IvorySQL to be upgraded to.
939-
maximum: 17
939+
maximum: 18
940940
minimum: 10
941941
type: integer
942942
tolerations:

config/default/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ bases:
1212
images:
1313
- name: ivory-operator
1414
newName: docker.io/ivorysql/ivory-operator
15-
newTag: v4.0
15+
newTag: v5.0

config/manager/manager.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ spec:
1818
fieldPath: metadata.namespace
1919
- name: IVORY_DEBUG
2020
value: "true"
21-
- name: RELATED_IMAGE_IVORY_16
22-
value: "docker.io/ivorysql/ivorysql:ubi8-4.5-4.0-1"
21+
- name: RELATED_IMAGE_IVORY_18
22+
value: "docker.io/ivorysql/ivorysql:ubi8-5.0-5.0-1"
2323
- name: RELATED_IMAGE_PGADMIN
24-
value: "docker.io/ivorysql/pgadmin:ubi8-8.14.0-4.0-1"
24+
value: "docker.io/ivorysql/pgadmin:ubi8-9.9-5.0-1"
2525
- name: RELATED_IMAGE_PGBACKREST
26-
value: "docker.io/ivorysql/pgbackrest:ubi8-2.54.1-4.0-1"
26+
value: "docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1"
2727
- name: RELATED_IMAGE_PGBOUNCER
28-
value: "docker.io/ivorysql/pgbouncer:ubi8-1.23.0-4.0-1"
28+
value: "docker.io/ivorysql/pgbouncer:ubi8-1.23.0-5.0-1"
2929
- name: RELATED_IMAGE_PGEXPORTER
30-
value: "docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-4.0-1"
30+
value: "docker.io/ivorysql/postgres-exporter:ubi8-0.17.0-5.0-1"
3131
- name: RELATED_IMAGE_PGUPGRADE
3232
value: "registry.developers.crunchydata.com/crunchydata/crunchy-upgrade:ubi8-5.3.1-0"
33-
- name: RELATED_IMAGE_POSTGRES_16_GIS_3.4
34-
value: "docker.io/ivorysql/ivorysql-postgis:ubi8-3.4-2.0-1"
33+
- name: RELATED_IMAGE_POSTGRES_18_GIS_3.5
34+
value: "docker.io/ivorysql/ivorysql-postgis:ubi8-3.5-5.0-1"
3535
securityContext:
3636
allowPrivilegeEscalation: false
3737
capabilities: { drop: [ALL] }

config/singlenamespace/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ patches:
1414
images:
1515
- name: ivory-operator
1616
newName: docker.io/ivorysql/ivory-operator
17-
newTag: v4.0
17+
newTag: v5.0

examples/kustomize/install/crd/bases/ivory-operator.ivorysql.org_ivoryclusters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10468,7 +10468,7 @@ spec:
1046810468
postgresVersion:
1046910469
description: The major version of PostgreSQL installed in the PostgreSQL
1047010470
image
10471-
maximum: 17
10471+
maximum: 18
1047210472
minimum: 10
1047310473
type: integer
1047410474
proxy:

examples/kustomize/install/default/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bases:
1313
images:
1414
- name: ivory-operator
1515
newName: docker.io/ivorysql/ivory-operator
16-
newTag: v4.0
16+
newTag: v5.0
1717

1818
patchesJson6902:
1919
- target: { group: apps, version: v1, kind: Deployment, name: ivyo }

examples/kustomize/install/manager/manager.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ spec:
2626
fieldPath: metadata.namespace
2727
- name: IVORY_DEBUG
2828
value: "true"
29-
- name: RELATED_IMAGE_IVORY_3
30-
value: "docker.io/ivorysql/ivorysql:ubi8-4.5-4.0-1"
29+
- name: RELATED_IMAGE_IVORY_5
30+
value: "docker.io/ivorysql/ivorysql:ubi8-5.0-5.0-1"
3131
- name: RELATED_IMAGE_PGBACKREST
32-
value: "docker.io/ivorysql/pgbackrest:ubi8-2.54.1-4.0-1"
32+
value: "docker.io/ivorysql/pgbackrest:ubi8-2.56.0-5.0-1"
3333

3434
securityContext:
3535
allowPrivilegeEscalation: false

examples/kustomize/install/singlenamespace/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bases:
1313
images:
1414
- name: ivory-operator
1515
newName: docker.io/ivorysql/ivory-operator
16-
newTag: v4.0
16+
newTag: v5.0
1717

1818
patchesJson6902:
1919
- target: { group: apps, version: v1, kind: Deployment, name: ivyo }

0 commit comments

Comments
 (0)