aks bastion: correctly set the contents of the kubeconfig#9415
Conversation
️✔️Azure CLI Extensions Breaking Change Test
|
|
Hi @stevekuznetsov, |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
CodeGen Tools Feedback CollectionThank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey |
b87cae3 to
6d5cfdf
Compare
Release SuggestionsModule: aks-preview
Notes
|
Release SuggestionsModule: aks-preview
Notes
|
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a bug in the AKS bastion kubeconfig update logic where modifications to cluster configurations were not being persisted to the YAML data structure that gets written to disk.
Key Changes:
- Fixed kubeconfig update logic to modify the actual data structure instead of the loop variable
- Added enumeration to access clusters by index in the data dictionary
6d5cfdf to
a346fad
Compare
FumingZhang
left a comment
There was a problem hiding this comment.
lgtm, thanks for the fix!
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Signed-off-by: Steve Kuznetsov <stekuznetsov@microsoft.com>
a346fad to
7380c9a
Compare
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
No description provided.