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 1
1
# 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
4
4
5
5
ENV TESTKUTTL=/usr/local/bin/scorecard-test-kuttl \
6
6
USER_UID=1001 \
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ import (
31
31
// scorecard v1alpha3.TestStatus json format.
32
32
//
33
33
// The kuttl output is expected to be produced by kubectl-kuttl
34
- // at /tmp/kuttl-report .json.
34
+ // at /tmp/kuttl-test .json.
35
35
func main () {
36
36
37
- jsonFile , err := os .Open ("/tmp/kuttl-report .json" )
37
+ jsonFile , err := os .Open ("/tmp/kuttl-test .json" )
38
38
if err != nil {
39
39
printErrorStatus (fmt .Errorf ("could not open kuttl report %v" , err ))
40
40
return
Original file line number Diff line number Diff line change @@ -145,6 +145,12 @@ operator-sdk alpha scorecard --namespace=mycustomns
145
145
If you do not specify either of these flags, the default namespace
146
146
and service account will be used by the scorecard to run test pods.
147
147
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
+
148
154
[client_go] : https://github.com/kubernetes/client-go
149
155
[kuttl] : https://kuttl.dev
150
156
[kuttl_yaml] : https://kuttl.dev/docs/cli.html#examples
You can’t perform that action at this time.
0 commit comments