Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Always include get credentials command when provisioning via bash or PowerShell #614

Closed
pjlewisuk opened this issue Jul 12, 2023 · 0 comments · Fixed by #628
Closed
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@pjlewisuk
Copy link
Contributor

Is your feature request related to a problem? Please describe.

When provisioning an AKS cluster with add-ons that are deployed via Helm charts, the az aks get-credentials command is included in the shell script or PowerShell script, as the user has to connect to the cluster to perform the final steps of installing those add-ons. This doesn't happen if no add-ons are selected, and the script stops after the command to provision the AKS cluster.

Describe the solution you'd like
It would be useful to always include the az aks get-credentials command with these scripts, or at least include an option to generate them, so users don't have to craft them manually or go looking for them in the Azure portal. It would be especially useful if creating multiple clusters in a short period of time, knowing that the cluster credentials are automatically added to your kubectl contexts.

Describe alternatives you've considered
Currently, I have to either craft these manually or go into the AKS portal and copy the command from the "Connect" button on the AKS cluster blade.

Additional context
Add any other context or screenshots about the feature request here.

@pjlewisuk pjlewisuk changed the title Always include get credentials command when provisioning via bash or PowerShell Feature: Always include get credentials command when provisioning via bash or PowerShell Jul 12, 2023
@khowling khowling added the good first issue Good for newcomers label Jul 20, 2023
@pjlewisuk pjlewisuk added the enhancement New feature or request label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants