From c63008b90d477cae804c06dd49248fde53f09721 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Mon, 25 Sep 2023 16:53:46 +0100 Subject: [PATCH] Add debug Signed-off-by: stevenhorsman --- integration/kubernetes/confidential/agent_image.bats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration/kubernetes/confidential/agent_image.bats b/integration/kubernetes/confidential/agent_image.bats index 4fcc21815..e2ff326ff 100644 --- a/integration/kubernetes/confidential/agent_image.bats +++ b/integration/kubernetes/confidential/agent_image.bats @@ -110,7 +110,6 @@ setup() { assert_logs_contain "kata" 'Validate image failed: \[PublicKeyVerifier { key: ECDSA_P256_SHA256_ASN1' } - @test "$test_tag Test pull an unencrypted unsigned image from an authenticated registry with correct credentials" { kubectl delete secret cococred --ignore-not-found AUTH_USER_NAME=$(echo "$REGISTRY_CREDENTIAL_ENCODED" |base64 -d| cut -d':' -f1) @@ -154,7 +153,9 @@ setup() { kubectl delete secret cococred --ignore-not-found } + @test "$test_tag Test cannot pull an image from an authenticated registry without credentials" { + # TODO - anyway to reset nydus credentials? pod_config="$(new_pod_config "${image_authenticated}")" echo "Pod config: ${pod_config}"