Description
See func GenerateConfigAKS()
Expected Behavior
The value set here should be used in the func GenerateConfigAKS().
It does honor the same file name and location
Can you retry, it generates the file in same location and list the contexts to choose b/w?
Perhaps, the issue is that this variable is errant and not used?
configPath := "$HOME/.meshery/aks-kubeconfig.yaml"
Oh, sorry for the misunderstanding the variable needs to be changed to honor the latest script.
Couple other considerations:
1) avoid writing file to temp location altogether. manipulate contents in memory and write to Meshery's app folder (~/.meshery) when final product is ready, if you can.
2) consider the OS/arch when both interfacing with the filesystem and when running the bash script.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is being automatically closed due to inactivity. However, you may choose to reopen this issue.