Ignore the Kubernetes version check in certain commands while creating the Kubernetes provider

This commit is contained in:
M. Mert Yildiran
2023-04-20 20:09:19 +03:00
parent bbe3338c3c
commit 466b9099bd
6 changed files with 16 additions and 14 deletions

View File

@@ -18,7 +18,7 @@ var logsCmd = &cobra.Command{
Use: "logs",
Short: "Create a ZIP file with logs for GitHub issues or troubleshooting",
RunE: func(cmd *cobra.Command, args []string) error {
kubernetesProvider, err := getKubernetesProviderForCli(false)
kubernetesProvider, err := getKubernetesProviderForCli(false, false)
if err != nil {
return nil
}