forked from bottlerocket-os/bottlerocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bottlerocket-os#4274 from arnaldo2792/fips-variants
Define FIPS variants
- Loading branch information
Showing
17 changed files
with
563 additions
and
13 deletions.
There are no files selected for viewing
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
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,43 @@ | ||
[package] | ||
name = "aws-ecs-2-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-features] | ||
grub-set-private-var = true | ||
uefi-secure-boot = true | ||
xfs-data-partition = true | ||
systemd-networkd = true | ||
fips = true | ||
|
||
[package.metadata.build-variant] | ||
included-packages = [ | ||
# core | ||
"release", | ||
"kernel-6.1", | ||
# docker | ||
"docker-cli", | ||
"docker-engine", | ||
"docker-init", | ||
# ecs | ||
"ecs-agent-config", | ||
] | ||
kernel-parameters = [ | ||
"console=tty0", | ||
"console=ttyS0,115200n8", | ||
"net.ifnames=0", | ||
"netdog.default-interface=eth0:dhcp4,dhcp6?", | ||
"quiet", | ||
] | ||
|
||
[lib] | ||
path = "../variants.rs" | ||
|
||
[build-dependencies] | ||
settings-defaults = { path = "../../packages/settings-defaults" } | ||
settings-plugins = { path = "../../packages/settings-plugins" } | ||
settings-migrations = { path = "../../packages/settings-migrations" } |
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,44 @@ | ||
[package] | ||
# This is the aws-k8s-1.28-fips variant. "." is not allowed in crate names, but we | ||
# don't use this crate name anywhere. | ||
name = "aws-k8s-1_28-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-features] | ||
grub-set-private-var = true | ||
uefi-secure-boot = true | ||
xfs-data-partition = true | ||
systemd-networkd = true | ||
fips = true | ||
|
||
[package.metadata.build-variant] | ||
included-packages = [ | ||
# core | ||
"release", | ||
"kernel-6.1", | ||
# k8s | ||
"cni", | ||
"cni-plugins", | ||
"kubelet-1.28", | ||
"aws-iam-authenticator", | ||
] | ||
kernel-parameters = [ | ||
"console=tty0", | ||
"console=ttyS0,115200n8", | ||
"net.ifnames=0", | ||
"netdog.default-interface=eth0:dhcp4,dhcp6?", | ||
"quiet", | ||
] | ||
|
||
[lib] | ||
path = "../variants.rs" | ||
|
||
[build-dependencies] | ||
settings-defaults = { path = "../../packages/settings-defaults" } | ||
settings-plugins = { path = "../../packages/settings-plugins" } | ||
settings-migrations = { path = "../../packages/settings-migrations" } |
Oops, something went wrong.