Skip to content

Commit

Permalink
disable snapshots, remove scheduledbackup for snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
nhudson committed Nov 24, 2024
1 parent 5b154ff commit 912f1a8
Show file tree
Hide file tree
Showing 8 changed files with 305 additions and 205 deletions.
2 changes: 1 addition & 1 deletion conductor/Cargo.lock

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

16 changes: 9 additions & 7 deletions conductor/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -901,12 +901,12 @@ async fn init_cloud_perms(
}),
};

// TODO: disable volumesnapshots for now until we can make them work with CNPG
// Enable VolumeSnapshots for all instances being created
let volume_snapshot = Some(VolumeSnapshot {
enabled: false,
snapshot_class: None,
});
// TODO: disable volumesnapshots for now until we can figure out how to not crash the
// snapshot-controller due to the amount of snapshots being created/managed
// let volume_snapshot = Some(VolumeSnapshot {
// enabled: false,
// snapshot_class: None,
// });

let write_path = read_msg
.message
Expand All @@ -922,7 +922,9 @@ async fn init_cloud_perms(
inherit_from_iam_role: Some(true),
..Default::default()
}),
volume_snapshot,
// disable volumesnapshots for now until we can figure out how to not crash the
// snapshot-controller due to the amount of snapshots being created/managed
// volume_snapshot,
..Default::default()
};

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.53.0"
edition = "2021"
default-run = "controller"
license = "Apache-2.0"
Expand Down
Loading

0 comments on commit 912f1a8

Please sign in to comment.