Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
debug: always enable the pull using nydus
Browse files Browse the repository at this point in the history
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
  • Loading branch information
fidencio committed Sep 21, 2023
1 parent bca67a2 commit c30416d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions integration/kubernetes/confidential/agent_image.bats
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@ test_tag="[cc][agent][kubernetes][containerd]"
setup() {
remove_test_image "$image_unsigned_protected" || true
setup_containerd
if [ "${IMAGE_OFFLOAD_TO_GUEST}" == "yes" ]; then
configure_containerd_for_nydus_snapshotter "/etc/containerd/config.toml"
fi
configure_containerd_for_nydus_snapshotter "/etc/containerd/config.toml"
restart_containerd
reconfigure_kata
if [ "${IMAGE_OFFLOAD_TO_GUEST}" == "yes" ]; then
switch_image_service_offload off
EXPORT_MODE="image_guest_pull" RUNTIMECLASS="$RUNTIMECLASS" configure_nydus_snapshotter
fi
switch_image_service_offload off
EXPORT_MODE="image_guest_pull" RUNTIMECLASS="$RUNTIMECLASS" configure_nydus_snapshotter
}

@test "$test_tag Test can launch pod with measured boot enabled" {
Expand Down

0 comments on commit c30416d

Please sign in to comment.