-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[AKS] az aks update: Add --network-policy to support updating the mode of a network policy
#27466
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
Changes from all commits
6964548
8ada376
a075374
9ad85d9
e0471ac
a35c193
01eef72
b7ef98d
1f5f8e8
4262ba8
047368d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7900,7 +7900,7 @@ def test_aks_migrate_cluster_to_cilium_dataplane(self, resource_group, resource_ | |
| ]) | ||
|
|
||
| # update to enable cilium dataplane | ||
| update_cmd = 'aks update -g {resource_group} -n {name} --network-dataplane=cilium' | ||
| update_cmd = 'aks update -g {resource_group} -n {name} --network-dataplane=cilium --network-policy=cilium' | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Queued live test to validate the change.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add check for this new added param and update the recording file.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We want to keep the argument consistent between
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the live test passed? Please upload the recoding file.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. uploaded the recording file and attached to the description |
||
|
|
||
| self.cmd(update_cmd, checks=[ | ||
| self.check('provisioningState', 'Succeeded'), | ||
|
|
||
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.
Is the value of this param enumerable? If so, please add
arg_type=get_enum_typeto the param.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.
We want to avoid referencing 'none' (that was introduced in API version 2023-08-02-preview) until it is ready. See comment: Azure/azure-cli-extensions#6809 (comment)