-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Quality improvements for az aks extension and az aks extension type command groups #8794
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
Merged
zhoxing-ms
merged 179 commits into
Azure:main
from
sophsoph321:sophiezhao/coreExtensions
May 30, 2025
Merged
Changes from all commits
Commits
Show all changes
179 commits
Select commit
Hold shift + click to select a range
172bf90
add troubleshoot command under connectedk8s
29a8518
resolve check issues
fe3c1e8
fix final new line
be0e8cd
add back troubleshoot params
18059a8
implement helm version and permission checks
9db15cd
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions
a275367
add aks extension and aks extension type cli groups
380c7c3
fix pylint
42b425d
POC for extensions
06ab07a
fix formatting
06fb262
add test and revert connectedk8s changes
3a44615
remove newline from readme
d4433e2
fix linter issue
448b729
fix faulty examples
8983efb
fix linting issues
301dd4d
fix parse issue
220480b
fix
b7c8add
fix help.py
761f13c
fix more pylint issues
e0f3ffa
fix params
a8ceaf5
fix parameter issue
ec96375
fix the over indent
e5d3cba
fix pylint issue
b423474
resolve pylinter issue
10d82a6
remove location
5fd78fe
remove location
2dd53e8
add extension type
32faf3c
remove unrecognized parameter
7fb0a9d
add comma
7955f81
fix invalid naming convensitons
ab73b8d
fix pylinter issue
9c9ab8a
remove duplicate functions from k8sextension
b8e84c5
add check for allowed extensions
b64d86f
revise tests
cbc03df
Merge branch 'main' into sophiezhao/coreExtensions
sophsoph321 f9bb5ca
fix indentation issue
9f5c4f1
fix trailing whitespace
26fd186
cmmit
b37e4b6
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions
305ab69
add params
0a2ec2a
change
1662318
fix format.py
e435322
remove aks group
5b006d4
fix format.py
ec60378
add library func for params
64a59cb
add const
bb87272
remove libraries
3b8fef8
update format.py
f58c6f5
remove libraries from format.py
600ce6a
add check for allow list of extensions
0f10b32
add history.rst
77b41b4
fix unit test
740ec93
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
874b875
fix style in help.py
de573cd
fix extension type test
b4fa329
add cassete file
21638eb
Merge branch 'sophiezhao/addExtensionTypeCassette' of https://github.…
eff8683
add modified tests
ff0a431
Merge branch 'sophiezhao/addExtensionTypeCassette' of https://github.…
9993ff0
add cmd for patching the k8s extension
5f304ca
fix cassette file
9a24396
Merge branch 'sophiezhao/addExtensionTypeCassette' of https://github.…
6303f01
add update
37f38fa
fix PR comments in format, help.py
8b03e4a
fix style
add69a6
fix action.py
d48a71e
fix style
9c43b16
add newline in params.py
f2c9c96
update extension type command
96a44e2
fix pylint indentation
fbabfba
fix cli examples
da952c8
add resource group name as param
09f4057
add resource group param
2b4c63e
add autoupgrade as description
3f04747
fix autoupgrade param
afe333c
add abreviation
a447f1d
fix option list
c1741d3
add autoupgrade
3967c0b
change autoupgrade order
b116f51
add description for config settings
52f251c
specify additional parameters
dadb971
add examples for aks extension API
ebb2acb
rerun pylinter
d30bc29
rerun pipeline
ff01a7e
fix style and pylint issue
8096e12
add location param in help.py
30d187d
add region as param
d5fe2c5
run new command with style and linter
95c2416
add command group
374e7e7
make parameters optional
f1e7a4e
use custom show command
2960ab2
rerun style check
de68349
fix style
e37ca43
fix unexpected spaces
379abaa
remove extra show extension type commands
8b1edc5
fix params in extension types api
4933993
add show version command
308d9f1
fix style
2f5caab
fix extension list version command
abd28cb
fix style and linting issue
ec28180
fix aks test cases
7489304
print allowed list of extensions
45cd466
fix help.py description
8fbb72a
fix pylinting issue
a04978f
fix style issue
b247002
fix style issue
6bfed92
add new cassette files
1966237
commit action.py
60922d3
Merge branch 'sophiezhao/addExtensionTypeCassette' of https://github.…
0a541be
add backup scenario
478a12e
Merge branch 'sophiezhao/addExtensionTypeCassette' of https://github.…
fedbd8a
add extension type version API commands
41ae7a0
fix help.py examples
ba731ce
fix help.py
462122a
fix version summary
8a9d74d
remove print statement
ee73bf0
add version show
4ba3d95
add custom helper function
d06e4d3
fix new line issue
d518a6e
remove show-version and list-versions
f96fbac
fix style issue
84683d6
fix style issue
7aac073
fix style issue
fdcd215
location of extension
ce0b2ae
fix pylinting issue
9c79606
fix location flag
43b1742
Update src/aks-preview/azext_aks_preview/tests/latest/test_aks_comman…
sophsoph321 2c17f1c
Update src/aks-preview/azext_aks_preview/tests/latest/test_aks_comman…
sophsoph321 6a26b58
add extension type filtering for core extensions
d6d2b61
Merge branch 'sophiezhao/coreExtensions' of https://github.com/sophso…
b144f5e
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
f9d9b9c
remove 3 properties
5dc1c9c
fix style
a00d705
add missing custom functions
235c7c9
upload cassette files
af6437f
change pending version
79a2ca8
modify casette files
7a81b9a
add k8s extension firewall
dcc8658
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
d3cb8f9
add latest cassette files
186f324
remove secrets from test case
1b1d9c3
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
baf1dba
register extension types feature
2cfc6ea
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
dcf04d4
add a wait period for the feature to register
cdc3c18
update version in setup.py
0ed32c8
fix cassette files
f9ffddd
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
a1aecac
update history.rst
4eda5d8
commit
6bd25e2
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
aa34320
add validation
e5c73d8
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
cc24709
update cassette files
ac382c1
update history.rst
e0ec999
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
f1fcb94
fix style issue in helpers.py
684ffdb
change api version
b8d948d
update casset files with correct API verisons
7809d7f
address PR comments
46960bc
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
a096efb
update setup.py
1b86b35
remove extra test files
eed5017
update casette files
695c16c
make tests live only
7928a10
fix style issue
a5f885c
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions …
96ffb0f
fix setup.py
5c64300
fix history.rst
5dc288a
fix style
695381b
fix failed test case
a237dd0
fix syntax error
ae18e74
update failed test
f463fb8
fix
5c1b0d9
fix recording
634895a
revert yaml changes
f06dbf5
fix put call API
b906cad
update api verisons
07bcea1
update api version
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review whether returning None when the extension does not pass the allowed list check is the best approach for error handling. Consider if raising a ValidationError might provide clearer feedback in the command workflow.