forked from bottlerocket-os/bottlerocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
41 lines (37 loc) · 1000 Bytes
/
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
[package]
# This is the metal-k8s-1.21 variant. "." is not allowed in crate names, but
# we don't use this crate name anywhere.
name = "metal-k8s-1_21"
version = "0.1.0"
edition = "2018"
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-format = "raw"
kernel-parameters = [
# Only reserve if there are at least 2GB
"crashkernel=2G-:256M"
]
included-packages = [
"cni",
"cni-plugins",
"kernel-5.10",
"kubelet-1.21",
"release",
]
grub-features = [
"set-private-var"
]
[lib]
path = "lib.rs"
[build-dependencies]
cni = { path = "../../packages/cni" }
cni-plugins = { path = "../../packages/cni-plugins" }
kernel-5_10 = { path = "../../packages/kernel-5.10" }
kubernetes-1_21 = { path = "../../packages/kubernetes-1.21" }
release = { path = "../../packages/release" }