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
1717
1818 public function test_kube_config_file ()
1919 {
20+ $ this ->app ['config ' ]->set ('k8s.default ' , 'kubeconfig ' );
2021 $ this ->app ['config ' ]->set ('k8s.connections.kubeconfig ' , [
2122 'driver ' => 'kubeconfig ' ,
2223 'path ' => __DIR__ .'/cluster/kubeconfig.yaml ' ,
@@ -40,6 +41,7 @@ public function test_kube_config_file()
4041
4142 public function test_http_authentication ()
4243 {
44+ $ this ->app ['config ' ]->set ('k8s.default ' , 'http ' );
4345 $ this ->app ['config ' ]->set ('k8s.connections.http ' , [
4446 'driver ' => 'http ' ,
4547 'host ' => env ('KUBE_HOST ' , '127.0.0.1 ' ),
@@ -77,6 +79,7 @@ public function test_http_authentication()
7779
7880 public function test_token_authentication ()
7981 {
82+ $ this ->app ['config ' ]->set ('k8s.default ' , 'token ' );
8083 $ this ->app ['config ' ]->set ('k8s.connections.token ' , [
8184 'driver ' => 'token ' ,
8285 'host ' => env ('KUBE_HOST ' , '127.0.0.1 ' ),
You can’t perform that action at this time.
0 commit comments