Skip to content

Commit

Permalink
variants: add vmware-1.30-fips variant
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
  • Loading branch information
arnaldo2792 committed Oct 30, 2024
1 parent a813423 commit 518eb1d
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ members = [
"variants/vmware-k8s-1.29",
"variants/vmware-k8s-1.29-fips",
"variants/vmware-k8s-1.30",
"variants/vmware-k8s-1.30-fips",
"variants/vmware-k8s-1.31",
]

Expand Down
51 changes: 51 additions & 0 deletions variants/vmware-k8s-1.30-fips/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[package]
# This is the vmware-k8s-1.30-fips variant. "." is not allowed in crate names, but
# we don't use this crate name anywhere.
name = "vmware-k8s-1_30-fips"
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]
partition-plan = "unified"

[package.metadata.build-variant.image-features]
grub-set-private-var = true
uefi-secure-boot = true
xfs-data-partition = true
systemd-networkd = true
fips = true

[package.metadata.build-variant]
image-format = "vmdk"
supported-arches = ["x86_64"]
kernel-parameters = [
"console=tty1",
# Only reserve if there are at least 2GB
"crashkernel=2G-:256M",
"net.ifnames=0",
"netdog.default-interface=eth0:dhcp4,dhcp6?",
"quiet",
]
included-packages = [
# core
"release",
"kernel-6.1",
# k8s
"cni",
"cni-plugins",
"kubelet-1.30",
# vmware
"open-vm-tools",
]

[lib]
path = "../variants.rs"

[build-dependencies]
settings-defaults = { path = "../../packages/settings-defaults" }
settings-plugins = { path = "../../packages/settings-plugins" }
settings-migrations = { path = "../../packages/settings-migrations" }
1 change: 1 addition & 0 deletions variants/vmware-k8s-1.30-fips/template.ovf

0 comments on commit 518eb1d

Please sign in to comment.