Skip to content

Commit

Permalink
fixup! microsoft.genpolicy: support mount propagation and ro mounts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmxnzo committed Jan 13, 2025
1 parent 187b184 commit ff8c666
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/by-name/microsoft/genpolicy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ rustPlatform.buildRustPackage rec {
# This avoids printing the entire annotation on log level debug, which resulted in errors of the logtranslator.go
# TODO(jmxnzo): remove when https://github.com/kata-containers/kata-containers/pull/10647 is picked up by microsoft/kata-containers fork
./0009-genpolicy-do-not-log-policy-annotation-in-debug.patch
# Patches the RootfsPropagation check in allow_create_container_input to allow setting up volumes. It reflects
# 0012-genpolicy-support-mount-propagation-and-ro-mounts.patch on upstream kata repo, but drops the patched propagation mode
# derivation, because it was already built in to the microsoft/fork.
# Patches the RootfsPropagation check in allow_create_container_input to allow setting up bidirectional volumes, which need to propagate their changes to a
# volume mounted on the root filesystem and possibly shared across multiple containers on the host.
# RootfsPropagation describes the mapping to mount propagations: https://kubernetes.io/docs/concepts/storage/volumes/#mount-propagation
# It reflects genpolicy-support-mount-propagation-and-ro-mounts.patch on upstream kata repo, but drops the patched propagation mode
# derivation, because it was already built in to the microsoft fork.
./0010-genpolicy-support-mount-propagation-and-ro-mounts.patch
];
};
Expand Down

0 comments on commit ff8c666

Please sign in to comment.