Meshery: [mesheryctl] `system config aks` kubeconfig generation script does not honor temp location or filename

Created on 10 Nov 2020  路  7Comments  路  Source: layer5io/meshery

Description
See func GenerateConfigAKS()

Expected Behavior
The value set here should be used in the func GenerateConfigAKS().

componenmesheryctl issustale kinbug

All 7 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Aisuko picture Aisuko  路  3Comments

leecalcote picture leecalcote  路  4Comments

leecalcote picture leecalcote  路  3Comments

leecalcote picture leecalcote  路  3Comments

leecalcote picture leecalcote  路  4Comments