Skip to content

Commit

Permalink
Update Spilo tests and deployment
Browse files Browse the repository at this point in the history
Signed-off-by: William Young <will.young@engineerbetter.com>
  • Loading branch information
William-Young-97 authored and bitsf committed Dec 1, 2022
1 parent ba52662 commit ab22239
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/cluster/deployment.yaml
Expand Up @@ -63761,7 +63761,7 @@ data:
debug_logging: "true"
default_cpu_request: 250m
default_memory_request: 500Mi
docker_image: registry.opensource.zalan.do/acid/spilo-13:2.0-p7
docker_image: registry.opensource.zalan.do/acid/spilo-14:2.1-p7
enable_ebs_gp3_migration: "false"
enable_master_load_balancer: "false"
enable_pgversion_env_var: "true"
Expand Down
4 changes: 2 additions & 2 deletions pkg/image/image_test.go
Expand Up @@ -134,15 +134,15 @@ var _ = Describe("Get image", func() {
It("Should pass", func() {
image, err := getImage(ctx, "cluster-postgresql")
Expect(err).ToNot(HaveOccurred())
Expect(image).To(Equal("registry.opensource.zalan.do/acid/spilo-12:1.6-p3"))
Expect(image).To(Equal("registry.opensource.zalan.do/acid/spilo-14:2.1-p7"))
})
})

Describe("Get image for in cluster postgresql with repository", func() {
It("Should pass", func() {
image, err := getImage(ctx, "cluster-postgresql", WithRepository("ghcr.io/goharbor"))
Expect(err).ToNot(HaveOccurred())
Expect(image).To(Equal("ghcr.io/goharbor/spilo-12:1.6-p3"))
Expect(image).To(Equal("ghcr.io/goharbor/spilo-14:2.1-p7"))
})
})
})

0 comments on commit ab22239

Please sign in to comment.