Skip to content

Commit

Permalink
[k8s-extension] Update extension CLI to v1.3.2 (#5245)
Browse files Browse the repository at this point in the history
  • Loading branch information
bavneetsingh16 authored Aug 18, 2022
1 parent edb486e commit 203ec06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 4 additions & 0 deletions src/k8s-extension/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

1.3.2
++++++++++++++++++
* Create identity for Appliances clusters

1.3.1
++++++++++++++++++
* microsoft.azureml.kubernetes: Always show TSG link for AzureMLKubernetes extension at the head.
Expand Down
7 changes: 2 additions & 5 deletions src/k8s-extension/azext_k8s_extension/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,8 @@ def __create_identity(cmd, resource_group_name, cluster_name, cluster_type, clus
subscription_id = get_subscription_id(cmd.cli_ctx)
resources = cf_resources(cmd.cli_ctx, subscription_id)

# We do not create any identities for managedClusters or appliances
if (
cluster_type.lower() == consts.MANAGED_CLUSTER_TYPE
or cluster_type.lower() == consts.APPLIANCE_TYPE
):
# We do not create any identities for managedClusters
if cluster_type.lower() == consts.MANAGED_CLUSTER_TYPE:
return None, None

cluster_rp, parent_api_version = get_cluster_rp_api_version(cluster_type=cluster_type, cluster_rp=cluster_rp)
Expand Down
2 changes: 1 addition & 1 deletion src/k8s-extension/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# TODO: Add any additional SDK dependencies here
DEPENDENCIES = []

VERSION = "1.3.1"
VERSION = "1.3.2"

with open("README.rst", "r", encoding="utf-8") as f:
README = f.read()
Expand Down

0 comments on commit 203ec06

Please sign in to comment.