Skip to content

Commit d3216a9

Browse files
committed
use spilo image test
1 parent f21fba6 commit d3216a9

File tree

11 files changed

+15
-17
lines changed

11 files changed

+15
-17
lines changed

charts/postgres-operator/crds/operatorconfigurations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ spec:
6868
type: string
6969
docker_image:
7070
type: string
71-
default: "ghcr.io/zalando/spilo-16:3.3-p1" # TODO: update to pg17 image
71+
default: "container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2"
7272
enable_crd_registration:
7373
type: boolean
7474
default: true

charts/postgres-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ configGeneral:
3838
# etcd connection string for Patroni. Empty uses K8s-native DCS.
3939
etcd_host: ""
4040
# Spilo docker image
41-
docker_image: ghcr.io/zalando/spilo-16:3.3-p1 # TODO: update with pg17 image
41+
docker_image: container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2
4242

4343
# key name for annotation to ignore globally configured instance limits
4444
# ignore_instance_limits_annotation_key: ""

e2e/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ IFS=$'\n\t'
88

99
readonly cluster_name="postgres-operator-e2e-tests"
1010
readonly kubeconfig_path="/tmp/kind-config-${cluster_name}"
11-
readonly spilo_image="registry.opensource.zalan.do/acid/spilo-16-e2e:0.1" # TODO: update to pg17 image
11+
readonly spilo_image="container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2"
1212
readonly e2e_test_runner_image="registry.opensource.zalan.do/acid/postgres-operator-e2e-tests-runner:0.4"
1313

1414
export GOPATH=${GOPATH-~/go}

e2e/tests/test_e2e.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
from tests.k8s_api import K8s
1313
from kubernetes.client.rest import ApiException
1414

15-
SPILO_CURRENT = "registry.opensource.zalan.do/acid/spilo-16-e2e:0.1" # TODO: update to pg17 image
16-
SPILO_LAZY = "registry.opensource.zalan.do/acid/spilo-16-e2e:0.2" # TODO: update to pg17 image
17-
SPILO_FULL_IMAGE = "ghcr.io/zalando/spilo-16:3.2-p3" # TODO: update to pg17 image
18-
15+
SPILO_CURRENT = "container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2"
16+
SPILO_LAZY = "container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2"
17+
SPILO_FULL_IMAGE = "container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2"
1918

2019
def to_selector(labels):
2120
return ",".join(["=".join(lbl) for lbl in labels.items()])

manifests/complete-postgres-manifest.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ metadata:
1010
# "delete-date": "2020-08-31" # can only be deleted on that day if "delete-date "key is configured
1111
# "delete-clustername": "acid-test-cluster" # can only be deleted when name matches if "delete-clustername" key is configured
1212
spec:
13-
dockerImage: ghcr.io/zalando/spilo-16:3.3-p1 # TODO: update to pg17 image
14-
teamId: "acid"
13+
dockerImage: container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2
1514
numberOfInstances: 2
1615
users: # Application/Robot users
1716
zalando:

manifests/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data:
3434
default_memory_request: 100Mi
3535
# delete_annotation_date_key: delete-date
3636
# delete_annotation_name_key: delete-clustername
37-
docker_image: ghcr.io/zalando/spilo-16:3.3-p1 # TODO: update to pg17 image
37+
docker_image: container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2
3838
# downscaler_annotations: "deployment-time,downscaler/*"
3939
enable_admin_role_for_users: "true"
4040
enable_crd_registration: "true"

manifests/operatorconfiguration.crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ spec:
6666
type: string
6767
docker_image:
6868
type: string
69-
default: "ghcr.io/zalando/spilo-16:3.3-p1" # TODO: update to pg17 image
69+
default: "container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2"
7070
enable_crd_registration:
7171
type: boolean
7272
default: true

manifests/postgresql-operator-default-configuration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: OperatorConfiguration
33
metadata:
44
name: postgresql-operator-default-configuration
55
configuration:
6-
docker_image: ghcr.io/zalando/spilo-16:3.3-p1 # TODO: update to pg17 image
6+
docker_image: container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2
77
# enable_crd_registration: true
88
# crd_categories:
99
# - all

pkg/apis/acid.zalan.do/v1/util_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ var unmarshalCluster = []struct {
279279
},
280280
Spec: PostgresSpec{
281281
PostgresqlParam: PostgresqlParam{
282-
PgVersion: "16",
282+
PgVersion: "17",
283283
Parameters: map[string]string{
284284
"shared_buffers": "32MB",
285285
"max_connections": "10",

pkg/controller/operator_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
3939
result.EnableTeamIdClusternamePrefix = fromCRD.EnableTeamIdClusternamePrefix
4040
result.EtcdHost = fromCRD.EtcdHost
4141
result.KubernetesUseConfigMaps = fromCRD.KubernetesUseConfigMaps
42-
result.DockerImage = util.Coalesce(fromCRD.DockerImage, "ghcr.io/zalando/spilo-16:3.3-p1") // TODO: update to pg17 image
42+
result.DockerImage = util.Coalesce(fromCRD.DockerImage, "container-registry-test.zalando.net/acid/spilo-cdp-17:3.3-p2")
4343
result.Workers = util.CoalesceUInt32(fromCRD.Workers, 8)
4444
result.MinInstances = fromCRD.MinInstances
4545
result.MaxInstances = fromCRD.MaxInstances

0 commit comments

Comments
 (0)