File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public function setUp(): void
17
17
18
18
public function test_kube_config_file ()
19
19
{
20
+ $ this ->app ['config ' ]->set ('k8s.default ' , 'kubeconfig ' );
20
21
$ this ->app ['config ' ]->set ('k8s.connections.kubeconfig ' , [
21
22
'driver ' => 'kubeconfig ' ,
22
23
'path ' => __DIR__ .'/cluster/kubeconfig.yaml ' ,
@@ -40,6 +41,7 @@ public function test_kube_config_file()
40
41
41
42
public function test_http_authentication ()
42
43
{
44
+ $ this ->app ['config ' ]->set ('k8s.default ' , 'http ' );
43
45
$ this ->app ['config ' ]->set ('k8s.connections.http ' , [
44
46
'driver ' => 'http ' ,
45
47
'host ' => env ('KUBE_HOST ' , '127.0.0.1 ' ),
@@ -77,6 +79,7 @@ public function test_http_authentication()
77
79
78
80
public function test_token_authentication ()
79
81
{
82
+ $ this ->app ['config ' ]->set ('k8s.default ' , 'token ' );
80
83
$ this ->app ['config ' ]->set ('k8s.connections.token ' , [
81
84
'driver ' => 'token ' ,
82
85
'host ' => env ('KUBE_HOST ' , '127.0.0.1 ' ),
You can’t perform that action at this time.
0 commit comments