-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sources, variants: add metal-k8s-1.28 variant
- Loading branch information
Showing
28 changed files
with
104 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
k8s.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
metal-k8s-1.28 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[package] | ||
# This is the metal-k8s-1.28 variant. "." is not allowed in crate names, but | ||
# we don't use this crate name anywhere. | ||
name = "metal-k8s-1_28" | ||
version = "0.1.0" | ||
edition = "2021" | ||
publish = false | ||
build = "../build.rs" | ||
# Don't rebuild crate just because of changes to README. | ||
exclude = ["README.md"] | ||
|
||
[package.metadata.build-variant.image-layout] | ||
os-image-size-gib = 4 | ||
partition-plan = "unified" | ||
|
||
[package.metadata.build-variant.image-features] | ||
grub-set-private-var = true | ||
unified-cgroup-hierarchy = true | ||
uefi-secure-boot = true | ||
xfs-data-partition = true | ||
|
||
[package.metadata.build-variant] | ||
image-format = "raw" | ||
supported-arches = ["x86_64"] | ||
kernel-parameters = [ | ||
# Only reserve if there are at least 2GB | ||
"crashkernel=2G-:256M" | ||
] | ||
included-packages = [ | ||
# core | ||
"release", | ||
"kernel-6.1", | ||
# k8s | ||
"aws-iam-authenticator", | ||
"cni", | ||
"cni-plugins", | ||
"kubelet-1.28", | ||
] | ||
|
||
[lib] | ||
path = "../variants.rs" | ||
|
||
[build-dependencies] | ||
# core | ||
release = { path = "../../packages/release" } | ||
kernel-6_1 = { path = "../../packages/kernel-6.1" } | ||
# k8s | ||
aws-iam-authenticator = { path = "../../packages/aws-iam-authenticator" } | ||
cni = { path = "../../packages/cni" } | ||
cni-plugins = { path = "../../packages/cni-plugins" } | ||
kubernetes-1_28 = { path = "../../packages/kubernetes-1.28" } |