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

Commit

Permalink
Add debug
Browse files Browse the repository at this point in the history
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
  • Loading branch information
stevenhorsman committed Sep 26, 2023
1 parent 5126133 commit c63008b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration/kubernetes/confidential/agent_image.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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}"

Expand Down

0 comments on commit c63008b

Please sign in to comment.