diff --git a/k8s-test-runner/.changeset/v0.2.0-test-release-alpha.md b/k8s-test-runner/.changeset/v0.2.0-test-release-alpha.md deleted file mode 100644 index 09c71890f..000000000 --- a/k8s-test-runner/.changeset/v0.2.0-test-release-alpha.md +++ /dev/null @@ -1,5 +0,0 @@ -Initial release of ./k8s-test-runner test runner - -Features added: -- One -- Two diff --git a/k8s-test-runner/k8s_client/client.go b/k8s-test-runner/k8s_client/client.go index 3cc20389e..c8c6e2ed8 100644 --- a/k8s-test-runner/k8s_client/client.go +++ b/k8s-test-runner/k8s_client/client.go @@ -32,7 +32,7 @@ type Client struct { } // GetLocalK8sDeps get local k8s context config -func GetLocalK8sDeps(a int) (*kubernetes.Clientset, *rest.Config, error) { +func GetLocalK8sDeps() (*kubernetes.Clientset, *rest.Config, error) { loadingRules := clientcmd.NewDefaultClientConfigLoadingRules() kubeConfig := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(loadingRules, &clientcmd.ConfigOverrides{}) k8sConfig, err := kubeConfig.ClientConfig() @@ -48,7 +48,7 @@ func GetLocalK8sDeps(a int) (*kubernetes.Clientset, *rest.Config, error) { // NewK8sClient creates a new k8s client with a REST config func NewClient() *Client { - cs, cfg, err := GetLocalK8sDeps(0) + cs, cfg, err := GetLocalK8sDeps() if err != nil { log.Fatal().Err(err).Send() }