Skip to content

Commit

Permalink
add namespace as cluser3's parameter to input_resource_test
Browse files Browse the repository at this point in the history
Signed-off-by: cappyzawa <cappyzawa@yahoo.ne.jp>
  • Loading branch information
cappyzawa committed Sep 4, 2019
1 parent 716daf5 commit fd71870
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/reconciler/taskrun/resources/input_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ func setUp(t *testing.T) {
}, {
Name: "Url",
Value: "http://10.10.10.10",
}, {
Name: "Namespace",
Value: "namespace1",
}, {
Name: "CAdata",
// echo "my-ca-cert" | base64
Expand Down Expand Up @@ -639,7 +642,7 @@ func TestAddResourceToTask(t *testing.T) {
Image: "override-with-kubeconfig-writer:latest",
Command: []string{"/ko-app/kubeconfigwriter"},
Args: []string{
"-clusterConfig", `{"name":"cluster3","type":"cluster","url":"http://10.10.10.10","revision":"","username":"","password":"","namespace":"","token":"","Insecure":false,"cadata":"bXktY2EtY2VydAo=","secrets":null}`,
"-clusterConfig", `{"name":"cluster3","type":"cluster","url":"http://10.10.10.10","revision":"","username":"","password":"","namespace":"namespace1","token":"","Insecure":false,"cadata":"bXktY2EtY2VydAo=","secrets":null}`,
},
}}},
},
Expand Down

0 comments on commit fd71870

Please sign in to comment.