Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov committed Sep 11, 2024
1 parent 80cc1be commit c340971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions k8s-test-runner/.changeset/v0.2.0-test-release-alpha.md

This file was deleted.

4 changes: 2 additions & 2 deletions k8s-test-runner/k8s_client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
}
Expand Down

0 comments on commit c340971

Please sign in to comment.