Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variants: add k8s-1.32 variants boilerplate #4320

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ members = [
"variants/aws-k8s-1.30-fips",
"variants/aws-k8s-1.31",
"variants/aws-k8s-1.31-fips",
"variants/aws-k8s-1.32",
"variants/aws-k8s-1.32-fips",
"variants/aws-k8s-1.27-nvidia",
"variants/aws-k8s-1.28-nvidia",
"variants/aws-k8s-1.29-nvidia",
"variants/aws-k8s-1.30-nvidia",
"variants/aws-k8s-1.31-nvidia",
"variants/aws-k8s-1.32-nvidia",
"variants/metal-dev",
"variants/vmware-dev",
"variants/vmware-k8s-1.28",
Expand All @@ -40,6 +43,8 @@ members = [
"variants/vmware-k8s-1.30-fips",
"variants/vmware-k8s-1.31",
"variants/vmware-k8s-1.31-fips",
"variants/vmware-k8s-1.32",
"variants/vmware-k8s-1.32-fips",
]

[profile.dev]
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ The following variants support EKS, as described above:
* `aws-k8s-1.29`
* `aws-k8s-1.30`
* `aws-k8s-1.31`
* `aws-k8s-1.32`
* `aws-k8s-1.24-nvidia`
* `aws-k8s-1.25-nvidia`
* `aws-k8s-1.26-nvidia`
Expand All @@ -77,6 +78,7 @@ The following variants support EKS, as described above:
* `aws-k8s-1.29-nvidia`
* `aws-k8s-1.30-nvidia`
* `aws-k8s-1.31-nvidia`
* `aws-k8s-1.32-nvidia`

The following variants support ECS:

Expand All @@ -91,6 +93,7 @@ We also have variants that are designed to be Kubernetes worker nodes in VMware:
* `vmware-k8s-1.29`
* `vmware-k8s-1.30`
* `vmware-k8s-1.31`
* `vmware-k8s-1.32`

The following variants are no longer supported:

Expand Down Expand Up @@ -387,7 +390,7 @@ See the ["Capabilities Settings" section in the `settings.oci-defaults.*` refere
##### OCI Defaults: Resource Limits

See the ["Resource Limits Settings" section in the `settings.oci-defaults.*` reference](https://bottlerocket.dev/en/os/latest/#/api/settings/oci-defaults/).

#### Container image registry settings

See the [`settings.container-registry.*` reference](https://bottlerocket.dev/en/os/latest/#/api/settings/container-registry/).
Expand All @@ -407,7 +410,7 @@ See the [`settings.network.*` reference](https://bottlerocket.dev/en/os/latest/#
##### Proxy settings

See the ["Proxy Settings" section in the `settings.networks.*` reference](https://bottlerocket.dev/en/os/latest/#/api/settings/network/).

#### Metrics settings

See the [`settings.metrics.*` reference](https://bottlerocket.dev/en/os/latest/#/api/settings/metrics/).
Expand Down
58 changes: 34 additions & 24 deletions packages/settings-defaults/settings-defaults.spec
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Conflicts: %{_cross_os}settings-defaults(any)
%description aws-k8s-1.26-nvidia
%{summary}.

%package aws-k8s-1.31
%package aws-k8s-1.32
Summary: Settings defaults for the aws-k8s 1.27 through 1.30 variants
Requires: (%{shrink:
%{_cross_os}variant(aws-k8s-1.27) or
Expand All @@ -142,7 +142,9 @@ Requires: (%{shrink:
%{_cross_os}variant(aws-k8s-1.30) or
%{_cross_os}variant(aws-k8s-1.30-fips) or
%{_cross_os}variant(aws-k8s-1.31) or
%{_cross_os}variant(aws-k8s-1.31-fips)
%{_cross_os}variant(aws-k8s-1.31-fips) or
%{_cross_os}variant(aws-k8s-1.32) or
%{_cross_os}variant(aws-k8s-1.32-fips)
%{nil}})
Provides: %{_cross_os}settings-defaults(any)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.27)
Expand All @@ -154,29 +156,33 @@ Provides: %{_cross_os}settings-defaults(aws-k8s-1.30)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.30-fips)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.31)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.31-fips)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.32)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.32-fips)
Conflicts: %{_cross_os}settings-defaults(any)

%description aws-k8s-1.31
%description aws-k8s-1.32
%{summary}.

%package aws-k8s-1.31-nvidia
%package aws-k8s-1.32-nvidia
Summary: Settings defaults for the aws-k8s 1.27 through 1.30 nvidia variants
Requires: (%{shrink:
%{_cross_os}variant(aws-k8s-1.27-nvidia) or
%{_cross_os}variant(aws-k8s-1.28-nvidia) or
%{_cross_os}variant(aws-k8s-1.29-nvidia) or
%{_cross_os}variant(aws-k8s-1.30-nvidia) or
%{_cross_os}variant(aws-k8s-1.31-nvidia)
%{_cross_os}variant(aws-k8s-1.31-nvidia) or
%{_cross_os}variant(aws-k8s-1.32-nvidia)
%{nil}})
Provides: %{_cross_os}settings-defaults(any)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.27-nvidia)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.28-nvidia)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.29-nvidia)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.30-nvidia)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.31-nvidia)
Provides: %{_cross_os}settings-defaults(aws-k8s-1.32-nvidia)
Conflicts: %{_cross_os}settings-defaults(any)

%description aws-k8s-1.31-nvidia
%description aws-k8s-1.32-nvidia
%{summary}.

%package metal-dev
Expand All @@ -199,7 +205,7 @@ Conflicts: %{_cross_os}settings-defaults(any)
%description vmware-dev
%{summary}.

%package vmware-k8s-1.31
%package vmware-k8s-1.32
Summary: Settings defaults for the vmware-k8s 1.27 through 1.30 variants
Requires: (%{shrink:
%{_cross_os}variant(vmware-k8s-1.27) or
Expand All @@ -210,7 +216,9 @@ Requires: (%{shrink:
%{_cross_os}variant(vmware-k8s-1.30) or
%{_cross_os}variant(vmware-k8s-1.30-fips) or
%{_cross_os}variant(vmware-k8s-1.31) or
%{_cross_os}variant(vmware-k8s-1.31-fips)
%{_cross_os}variant(vmware-k8s-1.31-fips) or
%{_cross_os}variant(vmware-k8s-1.32) or
%{_cross_os}variant(vmware-k8s-1.32-fips)
%{nil}})
Provides: %{_cross_os}settings-defaults(any)
Provides: %{_cross_os}settings-defaults(vmware-k8s-1.27)
Expand All @@ -222,9 +230,11 @@ Provides: %{_cross_os}settings-defaults(vmware-k8s-1.30)
Provides: %{_cross_os}settings-defaults(vmware-k8s-1.30-fips)
Provides: %{_cross_os}settings-defaults(vmware-k8s-1.31)
Provides: %{_cross_os}settings-defaults(vmware-k8s-1.31-fips)
Provides: %{_cross_os}settings-defaults(vmware-k8s-1.32)
Provides: %{_cross_os}settings-defaults(vmware-k8s-1.32-fips)
Conflicts: %{_cross_os}settings-defaults(any)

%description vmware-k8s-1.31
%description vmware-k8s-1.32
%{summary}.

%prep
Expand All @@ -245,11 +255,11 @@ for defaults in \
aws-k8s-1.25-nvidia \
aws-k8s-1.26 \
aws-k8s-1.26-nvidia \
aws-k8s-1.31 \
aws-k8s-1.31-nvidia \
aws-k8s-1.32 \
aws-k8s-1.32-nvidia \
metal-dev \
vmware-dev \
vmware-k8s-1.31 \
vmware-k8s-1.32 \
;
do
projects+=( "-p" "settings-defaults-$(echo "${defaults}" | sed -e 's,\.,_,g')" )
Expand Down Expand Up @@ -281,11 +291,11 @@ for defaults in \
aws-k8s-1.25-nvidia \
aws-k8s-1.26 \
aws-k8s-1.26-nvidia \
aws-k8s-1.31 \
aws-k8s-1.31-nvidia \
aws-k8s-1.32 \
aws-k8s-1.32-nvidia \
metal-dev \
vmware-dev \
vmware-k8s-1.31 \
vmware-k8s-1.32 \
;
do
crate="$(echo "${defaults}" | sed -e 's,\.,_,g')"
Expand Down Expand Up @@ -344,13 +354,13 @@ done
%{_cross_defaultsdir}/aws-k8s-1.26-nvidia.toml
%{_cross_tmpfilesdir}/storewolf-defaults-aws-k8s-1.26-nvidia.conf

%files aws-k8s-1.31
%{_cross_defaultsdir}/aws-k8s-1.31.toml
%{_cross_tmpfilesdir}/storewolf-defaults-aws-k8s-1.31.conf
%files aws-k8s-1.32
%{_cross_defaultsdir}/aws-k8s-1.32.toml
%{_cross_tmpfilesdir}/storewolf-defaults-aws-k8s-1.32.conf

%files aws-k8s-1.31-nvidia
%{_cross_defaultsdir}/aws-k8s-1.31-nvidia.toml
%{_cross_tmpfilesdir}/storewolf-defaults-aws-k8s-1.31-nvidia.conf
%files aws-k8s-1.32-nvidia
%{_cross_defaultsdir}/aws-k8s-1.32-nvidia.toml
%{_cross_tmpfilesdir}/storewolf-defaults-aws-k8s-1.32-nvidia.conf

%files metal-dev
%{_cross_defaultsdir}/metal-dev.toml
Expand All @@ -360,6 +370,6 @@ done
%{_cross_defaultsdir}/vmware-dev.toml
%{_cross_tmpfilesdir}/storewolf-defaults-vmware-dev.conf

%files vmware-k8s-1.31
%{_cross_defaultsdir}/vmware-k8s-1.31.toml
%{_cross_tmpfilesdir}/storewolf-defaults-vmware-k8s-1.31.conf
%files vmware-k8s-1.32
%{_cross_defaultsdir}/vmware-k8s-1.32.toml
%{_cross_tmpfilesdir}/storewolf-defaults-vmware-k8s-1.32.conf
5 changes: 5 additions & 0 deletions packages/settings-plugins/settings-plugins.spec
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Provides: %{_cross_os}settings-plugin(aws-k8s-1.30)
Provides: %{_cross_os}settings-plugin(aws-k8s-1.30-fips)
Provides: %{_cross_os}settings-plugin(aws-k8s-1.31)
Provides: %{_cross_os}settings-plugin(aws-k8s-1.31-fips)
Provides: %{_cross_os}settings-plugin(aws-k8s-1.32)
Provides: %{_cross_os}settings-plugin(aws-k8s-1.32-fips)
Conflicts: %{_cross_os}settings-plugin(any)
Conflicts: %{_cross_os}variant-flavor(nvidia)

Expand All @@ -92,6 +94,7 @@ Provides: %{_cross_os}settings-plugin(aws-k8s-1.28-nvidia)
Provides: %{_cross_os}settings-plugin(aws-k8s-1.29-nvidia)
Provides: %{_cross_os}settings-plugin(aws-k8s-1.30-nvidia)
Provides: %{_cross_os}settings-plugin(aws-k8s-1.31-nvidia)
Provides: %{_cross_os}settings-plugin(aws-k8s-1.32-nvidia)
Conflicts: %{_cross_os}settings-plugin(any)

%description aws-k8s-nvidia
Expand Down Expand Up @@ -130,6 +133,8 @@ Provides: %{_cross_os}settings-plugin(vmware-k8s-1.30)
Provides: %{_cross_os}settings-plugin(vmware-k8s-1.30-fips)
Provides: %{_cross_os}settings-plugin(vmware-k8s-1.31)
Provides: %{_cross_os}settings-plugin(vmware-k8s-1.31-fips)
Provides: %{_cross_os}settings-plugin(vmware-k8s-1.32)
Provides: %{_cross_os}settings-plugin(vmware-k8s-1.32-fips)
Conflicts: %{_cross_os}settings-plugin(any)

%description vmware-k8s
Expand Down
6 changes: 3 additions & 3 deletions sources/Cargo.lock

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

6 changes: 3 additions & 3 deletions sources/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ members = [
"settings-defaults/aws-k8s-1.25-nvidia",
"settings-defaults/aws-k8s-1.26",
"settings-defaults/aws-k8s-1.26-nvidia",
"settings-defaults/aws-k8s-1.31",
"settings-defaults/aws-k8s-1.31-nvidia",
"settings-defaults/aws-k8s-1.32",
"settings-defaults/aws-k8s-1.32-nvidia",
"settings-defaults/metal-dev",
"settings-defaults/metal-k8s-1.30",
"settings-defaults/vmware-dev",
"settings-defaults/vmware-k8s-1.31",
"settings-defaults/vmware-k8s-1.32",

# (all previous migrations archived; add new ones after this line)
"settings-migrations/v1.21.0/pluto-remove-generators-v0-1-0",
Expand Down
13 changes: 13 additions & 0 deletions sources/settings-defaults/aws-k8s-1.32-nvidia/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "settings-defaults-aws-k8s-1_32-nvidia"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0 OR MIT"
publish = false
build = "../build-defaults.rs"

[lib]
path = "../defaults-toml.rs"

[build-dependencies]
bottlerocket-defaults-helper.workspace = true
Loading
Loading