Skip to content

Commit 431fe75

Browse files
authored
Merge pull request #4628 from vigh-m/static-pods-enabled-migrations
Prepare the 1.46.0 release
2 parents 093dbc5 + 3a051ec commit 431fe75

8 files changed

Lines changed: 126 additions & 50 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
# v1.46.0 (2025-09-02)
2+
3+
## Release Highlights
4+
* Add support for new Kubernetes setting `static-pods-enabled` ([bottlerocket-core-kit#641])
5+
* Add default bind directories for ephemeral storage ([bottlerocket-core-kit#632])
6+
7+
## OS Changes
8+
* Update `bottlerocket-sdk` from 0.63.0 to 0.64.0 ([commits](https://github.com/bottlerocket-os/bottlerocket-sdk/compare/v0.63.0...v0.64.0))([#4623])
9+
* Update `bottlerocket-core-kit` from 10.1.2 to 10.3.0 [CHANGELOG](https://github.com/bottlerocket-os/bottlerocket-core-kit/blob/develop/CHANGELOG.md#v1030-2025-08-26) ([commits](https://github.com/bottlerocket-os/bottlerocket-core-kit/compare/v10.1.2...v10.3.0)) ([#4623], [#4628])
10+
* Update `bottlerocket-kernel-kit` from 4.0.1 to 4.2.0 [CHANGELOG](https://github.com/bottlerocket-os/bottlerocket-kernel-kit/blob/develop/CHANGELOG.md#v420-2025-08-25) ([commits](https://github.com/bottlerocket-os/bottlerocket-kernel-kit/compare/v4.0.1...v4.2.0)) ([#4623], [#4626])
11+
12+
## Build Changes
13+
### Twoliter
14+
* Update `twoliter` from 0.11.0 to 0.12.0 and schema-version to 2 [CHANGELOG](https://github.com/bottlerocket-os/twoliter/blob/develop/CHANGELOG.md#0120---2025-08-21) ([commits](https://github.com/bottlerocket-os/twoliter/compare/v0.11.0...v0.12.0)) ([#4624])
15+
16+
[#4623]: https://github.com/bottlerocket-os/bottlerocket/pull/4623
17+
[#4624]: https://github.com/bottlerocket-os/bottlerocket/pull/4624
18+
[#4626]: https://github.com/bottlerocket-os/bottlerocket/pull/4626
19+
[#4628]: https://github.com/bottlerocket-os/bottlerocket/pull/4628
20+
[bottlerocket-core-kit#632]: https://github.com/bottlerocket-os/bottlerocket-core-kit/pull/632
21+
[bottlerocket-core-kit#641]: https://github.com/bottlerocket-os/bottlerocket-core-kit/pull/641
22+
123
# v1.45.0 (2025-08-18)
224

325
## Release Highlights

Release.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "1.45.0"
1+
version = "1.46.0"
22

33
[migrations]
44
"(0.3.1, 0.3.2)" = ["migrate_v0.3.2_admin-container-v0-5-0.lz4"]
@@ -434,3 +434,6 @@ version = "1.45.0"
434434
"migrate_v1.44.0_container-runtime-snapshotter-setting.lz4",
435435
]
436436
"(1.44.0, 1.45.0)" = []
437+
"(1.45.0, 1.46.0)" = [
438+
"migrate_v1.46.0_kubernetes-static-pods-enabled-setting.lz4",
439+
]

Twoliter.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ digest = "hl4lWZ9WFncH72ZaZ06WOu0yg5dL1Y8/VzWwaOjJu8g="
1717

1818
[[kit]]
1919
name = "bottlerocket-core-kit"
20-
version = "10.2.0"
20+
version = "10.3.0"
2121
vendor = "bottlerocket"
22-
source = "public.ecr.aws/bottlerocket/bottlerocket-core-kit:v10.2.0"
23-
digest = "8ncIwZGGIjYsTedHkc7i0Ul7NRyc384tUBQ1vUJwJ7A="
22+
source = "public.ecr.aws/bottlerocket/bottlerocket-core-kit:v10.3.0"
23+
digest = "dT7bsoCAZmBVFw7Us7PcMHQg5ru47B6aLM5G6+mmDaQ="

Twoliter.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
schema-version = 2
2-
release-version = "1.45.0"
2+
release-version = "1.46.0"
33
project-vendor = "Bottlerocket"
44

55
[vendor.bottlerocket]
@@ -17,5 +17,5 @@ vendor = "bottlerocket"
1717

1818
[[kit]]
1919
name = "bottlerocket-core-kit"
20-
version = "10.2.0"
20+
version = "10.3.0"
2121
vendor = "bottlerocket"

sources/Cargo.lock

Lines changed: 47 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sources/Cargo.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ members = [
3838
"settings-migrations/v1.42.0/kubernetes-memory-swap-behavior-setting",
3939
"settings-migrations/v1.44.0/container-runtime-plugins-settings",
4040
"settings-migrations/v1.44.0/container-runtime-snapshotter-setting",
41+
"settings-migrations/v1.46.0/kubernetes-static-pods-enabled-setting",
4142

4243
"settings-plugins/aws-dev",
4344
"settings-plugins/aws-ecs-2",
@@ -106,27 +107,27 @@ walkdir = "2"
106107

107108
[workspace.dependencies.bottlerocket-defaults-helper]
108109
git = "https://github.com/bottlerocket-os/bottlerocket-settings-sdk"
109-
tag = "bottlerocket-defaults-helper-v0.1.0"
110-
version = "0.1.0"
110+
tag = "bottlerocket-settings-models-v0.13.0"
111+
version = "0.1.1"
111112

112113
[workspace.dependencies.bottlerocket-modeled-types]
113114
git = "https://github.com/bottlerocket-os/bottlerocket-settings-sdk"
114-
tag = "bottlerocket-settings-models-v0.12.0"
115+
tag = "bottlerocket-settings-models-v0.13.0"
115116
version = "0.10.0"
116117

117118
[workspace.dependencies.bottlerocket-settings-models]
118119
git = "https://github.com/bottlerocket-os/bottlerocket-settings-sdk"
119-
tag = "bottlerocket-settings-models-v0.12.0"
120-
version = "0.12.0"
120+
tag = "bottlerocket-settings-models-v0.13.0"
121+
version = "0.13.0"
121122

122123
[workspace.dependencies.bottlerocket-settings-plugin]
123124
git = "https://github.com/bottlerocket-os/bottlerocket-settings-sdk"
124-
tag = "bottlerocket-settings-models-v0.12.0"
125+
tag = "bottlerocket-settings-models-v0.13.0"
125126
version = "0.1.0"
126127

127128
[workspace.dependencies.settings-extension-oci-defaults]
128129
git = "https://github.com/bottlerocket-os/bottlerocket-settings-sdk"
129-
tag = "bottlerocket-settings-models-v0.12.0"
130+
tag = "bottlerocket-settings-models-v0.13.0"
130131
version = "0.1.0"
131132

132133
[profile.release]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[package]
2+
name = "kubernetes-static-pods-enabled-setting"
3+
version = "0.1.0"
4+
authors = ["Vighnesh Maheshwari <vighmah@amazon.com>"]
5+
license = "Apache-2.0 OR MIT"
6+
edition = "2021"
7+
publish = false
8+
# Don't rebuild crate just because of changes to README.
9+
exclude = ["README.md"]
10+
11+
12+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
13+
14+
[dependencies]
15+
migration-helpers.workspace = true
16+
snafu.workspace = true
17+
18+
[dev-dependencies]
19+
maplit.workspace = true
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
use migration_helpers::common_migrations::AddSettingsMigration;
2+
use migration_helpers::{migrate, Result};
3+
use std::process;
4+
5+
/// We added new k8s settings for:
6+
/// - static_pods_enabled
7+
fn run() -> Result<()> {
8+
migrate(AddSettingsMigration(&[
9+
"settings.kubernetes.static-pods-enabled",
10+
]))
11+
}
12+
13+
// Returning a Result from main makes it print a Debug representation of the error, but with Snafu
14+
// we have nice Display representations of the error, so we wrap "main" (run) and print any error.
15+
// https://github.com/shepmaster/snafu/issues/110
16+
fn main() {
17+
if let Err(e) = run() {
18+
eprintln!("{e}");
19+
process::exit(1);
20+
}
21+
}

0 commit comments

Comments
 (0)