From cd1c762c516acce5d5f616ea06dfb9264386f11f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Miguel?= <36349314+vrmiguel@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:20:38 -0300 Subject: [PATCH] operator: add Pg17 to `ImagePerPgVersion` (#1076) --- charts/tembo-operator/templates/crd.yaml | 2 +- tembo-operator/Cargo.lock | 2 +- tembo-operator/Cargo.toml | 2 +- tembo-operator/src/defaults.rs | 9 ++++++--- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/charts/tembo-operator/templates/crd.yaml b/charts/tembo-operator/templates/crd.yaml index ef55e284d..bc3a25d9c 100644 --- a/charts/tembo-operator/templates/crd.yaml +++ b/charts/tembo-operator/templates/crd.yaml @@ -2323,7 +2323,7 @@ spec: nullable: true type: array image: - default: quay.io/tembo/standard-cnpg:15-a0a5ab5 + default: quay.io/tembo/standard-cnpg:15-30219f2 description: |- The Postgres image to use for the CoreDB instance deployment. This should be a valid Postgres image that is compatible with the [https://tembo.io](https://tembo.io) platform. For more information please visit our [tembo-images](https://github.com/tembo-io/tembo-images) repository. diff --git a/tembo-operator/Cargo.lock b/tembo-operator/Cargo.lock index bf756e48e..70ec03a0d 100644 --- a/tembo-operator/Cargo.lock +++ b/tembo-operator/Cargo.lock @@ -503,7 +503,7 @@ dependencies = [ [[package]] name = "controller" -version = "0.52.0" +version = "0.52.1" dependencies = [ "actix-web", "anyhow", diff --git a/tembo-operator/Cargo.toml b/tembo-operator/Cargo.toml index 61b778101..9391865d4 100644 --- a/tembo-operator/Cargo.toml +++ b/tembo-operator/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "controller" description = "Tembo Operator for Postgres" -version = "0.52.0" +version = "0.52.1" edition = "2021" default-run = "controller" license = "Apache-2.0" diff --git a/tembo-operator/src/defaults.rs b/tembo-operator/src/defaults.rs index db6c36f87..5fc9356f8 100644 --- a/tembo-operator/src/defaults.rs +++ b/tembo-operator/src/defaults.rs @@ -24,6 +24,8 @@ pub struct ImagePerPgVersion { pub pg15: Option, #[serde(rename = "16")] pub pg16: Option, + #[serde(rename = "17")] + pub pg17: Option, } pub fn default_replicas() -> i32 { @@ -67,9 +69,10 @@ pub fn default_repository() -> String { pub fn default_images() -> ImagePerPgVersion { ImagePerPgVersion { - pg14: Some("standard-cnpg:14-a0a5ab5".to_string()), - pg15: Some("standard-cnpg:15-a0a5ab5".to_string()), - pg16: Some("standard-cnpg:16-a0a5ab5".to_string()), + pg14: Some("standard-cnpg:14-30219f2".to_string()), + pg15: Some("standard-cnpg:15-30219f2".to_string()), + pg16: Some("standard-cnpg:16-30219f2".to_string()), + pg17: Some("standard-cnpg:17-30219f2".to_string()), } }