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

{AKS} Vendor 2022-04-02-preview for aks-preview #4796

Merged
merged 7 commits into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions src/aks-preview/HISTORY.md → src/aks-preview/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@
Release History
===============

0.5.67
++++++
* Add support for csi drivers extensibility.
Guidance
++++++++
If there is no rush to release a new version, please just add a description of the modification under the *Pending* section.

To release a new version, please select a new version number (usually plus 1 to the minor of the current latest version number), and then add a new section named as the new version number in this file, the content should include the new modifications and everything from the *Pending* section. Finally, update the `VERSION` in `setup.py` with this new version number.

Pending
+++++++
* Update to use 2022-04-02-preview api version.

0.5.67 (NOT RELEASED)
+++++++++++++++++++++
* Add support for csi drivers extensibility.

0.5.66
++++++
Expand Down Expand Up @@ -36,6 +45,7 @@ Release History
0.5.61
++++++

* Update to use 2022-03-02-preview api version.
* Add support for `--format` parameter in `az aks get-credentials` command.

0.5.60
Expand Down Expand Up @@ -70,6 +80,7 @@ for nodepool snapshot, it will be
0.5.58
++++++

* Update to use 2022-02-02-preview api version.
* Add support for enabling Azure KeyVault KMS with `--enable-azure-keyvault-kms` flag.

0.5.57
Expand Down Expand Up @@ -97,6 +108,7 @@ for nodepool snapshot, it will be
0.5.53
++++++

* Update to use 2022-01-02-preview api version.
* Add support for cluster creating with Capacity Reservation Group.
* `az aks create --crg-id`
* Add support for nodepool adding with Capacity Reservation Group.
Expand Down
194 changes: 0 additions & 194 deletions src/aks-preview/README.md

This file was deleted.

11 changes: 11 additions & 0 deletions src/aks-preview/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Azure CLI AKS Preview Extension
===============================

This is an extension for AKS features. After installing and enabling aks-preview, it will **override the implementation of the same aks commands in azure-cli**.

How to use
==========

Install this extension using the following CLI command `az extension add --name aks-preview`. You may need to execute some invalid aks command (e.g., `az aks fake`) to refresh the command index to enable aks-preview.

Remove this extension using the following CLI command `az extension remove --name aks-preview`.
2 changes: 1 addition & 1 deletion src/aks-preview/azext_aks_preview/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def register_aks_preview_resource_type():
register_resource_type(
"latest",
CUSTOM_MGMT_AKS_PREVIEW,
SDKProfile("2022-03-02-preview", {"container_services": "2017-07-01"}),
SDKProfile("2022-04-02-preview", {"container_services": "2017-07-01"}),
)


Expand Down
2 changes: 1 addition & 1 deletion src/aks-preview/azext_aks_preview/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
from .maintenanceconfiguration import (
aks_maintenanceconfiguration_update_internal,
)
from .vendored_sdks.azure_mgmt_preview_aks.v2022_03_02_preview.models import (
from .vendored_sdks.azure_mgmt_preview_aks.v2022_04_02_preview.models import (
AgentPool,
AgentPoolUpgradeSettings,
ContainerServiceStorageProfileTypes,
Expand Down
Loading