Skip to content

Commit

Permalink
operator: add Pg17 to ImagePerPgVersion (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrmiguel authored Dec 13, 2024
1 parent e20039c commit cd1c762
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/tembo-operator/templates/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tembo-operator/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tembo-operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
9 changes: 6 additions & 3 deletions tembo-operator/src/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ pub struct ImagePerPgVersion {
pub pg15: Option<String>,
#[serde(rename = "16")]
pub pg16: Option<String>,
#[serde(rename = "17")]
pub pg17: Option<String>,
}

pub fn default_replicas() -> i32 {
Expand Down Expand Up @@ -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()),
}
}

Expand Down

0 comments on commit cd1c762

Please sign in to comment.