Skip to content

Commit

Permalink
fix kubeconfig order
Browse files Browse the repository at this point in the history
  • Loading branch information
ryota-sakamoto committed Jun 16, 2024
1 parent 4c093fa commit 9d92066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provisioner/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 9d92066

Please sign in to comment.