File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed
images/scorecard-test-kuttl
website/content/en/docs/scorecard Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1+ entries :
2+ - description : >
3+ The scorecard-test-kuttl image was updated to be based off the v0.5.1 version of kudobuilder/kuttl. This update fixes bugs found in kuttl v0.5.0.
4+ kind: "change"
Original file line number Diff line number Diff line change 11# Base image
2- FROM docker.io/kudobuilder/kuttl@sha256:970fcac6cf2eeba433a9e00eb9e24a7ecb0a313c2f1d0cc120cfd206210cd0ba
3- # FROM kuttl:latest
2+ FROM docker.io/kudobuilder/kuttl@sha256:d23368441f313107954e80a3a5f2884f374bd5a4746193e304c7733f98d6915e
3+ # FROM kudobuilder/ kuttl:latest
44
55ENV TESTKUTTL=/usr/local/bin/scorecard-test-kuttl \
66 USER_UID=1001 \
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ import (
3131// scorecard v1alpha3.TestStatus json format.
3232//
3333// The kuttl output is expected to be produced by kubectl-kuttl
34- // at /tmp/kuttl-report .json.
34+ // at /tmp/kuttl-test .json.
3535func main () {
3636
37- jsonFile , err := os .Open ("/tmp/kuttl-report .json" )
37+ jsonFile , err := os .Open ("/tmp/kuttl-test .json" )
3838 if err != nil {
3939 printErrorStatus (fmt .Errorf ("could not open kuttl report %v" , err ))
4040 return
Original file line number Diff line number Diff line change @@ -145,6 +145,12 @@ operator-sdk alpha scorecard --namespace=mycustomns
145145If you do not specify either of these flags, the default namespace
146146and service account will be used by the scorecard to run test pods.
147147
148+ It is worth noting that scorecard-test-kuttl specifies a namespace
149+ to the kubectl-kuttl command which causes kuttl to not create a
150+ namespace for each test. This might impact your kuttl tests in
151+ that you might need to perform resource cleanup in your tests
152+ instead of depending upon namespace deletion to perform that cleanup.
153+
148154[client_go] : https://github.com/kubernetes/client-go
149155[kuttl] : https://kuttl.dev
150156[kuttl_yaml] : https://kuttl.dev/docs/cli.html#examples
You can’t perform that action at this time.
0 commit comments