Skip to content

Commit f3b2b92

Browse files
committed
WIP: Use the service CA
Is it supposed to work like that? Per https://github.com/openshift/openshift-docs/blob/enterprise-4.1/release_notes/ocp-4-1-release-notes.adoc#service-ca-bundle-changes the path is deprecated. Signed-off-by: Miloslav Trmač <[email protected]>
1 parent 166b2bf commit f3b2b92

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/extended/images/signatures.go

+5-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,11 @@ var _ = g.Describe("[sig-imageregistry][Serial][Suite:openshift/registry/serial]
100100

101101
"copy", "--sign-by", "[email protected]",
102102
"--dest-creds=" + user + ":" + token,
103-
// TODO: test with this turned to true as well
104-
"--dest-tls-verify=false",
103+
104+
// Expect to use /run/secrets/kubernetes.io/serviceaccount/ca.crt
105+
"--src-cert-dir=/run/secrets/kubernetes.io/serviceaccount",
106+
"--dest-cert-dir=/run/secrets/kubernetes.io/serviceaccount",
107+
105108
"docker://" + image.ShellImage(),
106109
"docker://" + signedImage,
107110
}, " "))

0 commit comments

Comments
 (0)