diff --git a/pkg/provisioner/cluster.go b/pkg/provisioner/cluster.go index 473d3ac..e47129b 100644 --- a/pkg/provisioner/cluster.go +++ b/pkg/provisioner/cluster.go @@ -126,7 +126,7 @@ func GenerateKubeconfig(name string) error { return fmt.Errorf("failed to create .kube directory: %w", err) } - mergedConfig, err := kubernetes.MergeKubeconfig([]string{kubeDir + "/config", tempDir + "/config"}) + mergedConfig, err := kubernetes.MergeKubeconfig([]string{tempDir + "/config", kubeDir + "/config"}) if err != nil { return fmt.Errorf("failed to merge kubeconfig files: %w", err) }