forked from bottlerocket-os/bottlerocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (37 loc) · 1.05 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
# This is the metal-k8s-1.24 variant. "." is not allowed in crate names, but
# we don't use this crate name anywhere.
name = "metal-k8s-1_24"
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
[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 = [
"cni",
"cni-plugins",
"kernel-5.15",
"kubelet-1.24",
"release",
]
[lib]
path = "/dev/null"
[build-dependencies]
cni = { path = "../../packages/cni" }
cni-plugins = { path = "../../packages/cni-plugins" }
kernel-5_15 = { path = "../../packages/kernel-5.15" }
kubernetes-1_24 = { path = "../../packages/kubernetes-1.24" }
release = { path = "../../packages/release" }