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

Commit c63008b

Browse files
committed
Add debug
Signed-off-by: stevenhorsman <[email protected]>
1 parent 5126133 commit c63008b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

integration/kubernetes/confidential/agent_image.bats

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ setup() {
110110
assert_logs_contain "kata" 'Validate image failed: \[PublicKeyVerifier { key: ECDSA_P256_SHA256_ASN1'
111111
}
112112

113-
114113
@test "$test_tag Test pull an unencrypted unsigned image from an authenticated registry with correct credentials" {
115114
kubectl delete secret cococred --ignore-not-found
116115
AUTH_USER_NAME=$(echo "$REGISTRY_CREDENTIAL_ENCODED" |base64 -d| cut -d':' -f1)
@@ -154,7 +153,9 @@ setup() {
154153
kubectl delete secret cococred --ignore-not-found
155154
}
156155

156+
157157
@test "$test_tag Test cannot pull an image from an authenticated registry without credentials" {
158+
# TODO - anyway to reset nydus credentials?
158159
pod_config="$(new_pod_config "${image_authenticated}")"
159160
echo "Pod config: ${pod_config}"
160161

0 commit comments

Comments
 (0)