Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Azure/azure-cli-extensions into rel…
Browse files Browse the repository at this point in the history
…ease-1.3.7
  • Loading branch information
Bavneet Singh committed Nov 16, 2022
2 parents 155fb01 + fbde50e commit 0d74a15
Show file tree
Hide file tree
Showing 7 changed files with 1,543 additions and 1,302 deletions.
4 changes: 2 additions & 2 deletions src/aks-preview/azext_aks_preview/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def load_arguments(self, _):
c.argument('pod_cidrs')
c.argument('service_cidrs')
c.argument('load_balancer_managed_outbound_ipv6_count', type=int)
c.argument('enable_pod_security_policy', action='store_true', deprecate_info=c.deprecate(hide=True))
c.argument('enable_pod_security_policy', action='store_true', deprecate_info=c.deprecate(target='--enable-pod-security-policy', hide=True))
c.argument('enable_pod_identity', action='store_true')
c.argument('enable_pod_identity_with_kubenet', action='store_true')
c.argument('enable_workload_identity', arg_type=get_three_state_flag(), is_preview=True)
Expand Down Expand Up @@ -415,7 +415,7 @@ def load_arguments(self, _):
c.argument('http_proxy_config')
c.argument('load_balancer_managed_outbound_ipv6_count', type=int)
c.argument('outbound_type', arg_type=get_enum_type(outbound_types))
c.argument('enable_pod_security_policy', action='store_true', deprecate_info=c.deprecate(hide=True))
c.argument('enable_pod_security_policy', action='store_true', deprecate_info=c.deprecate(target='--enable-pod-security-policy', hide=True))
c.argument('disable_pod_security_policy', action='store_true', is_preview=True)
c.argument('enable_pod_identity', action='store_true')
c.argument('enable_pod_identity_with_kubenet', action='store_true')
Expand Down
5 changes: 5 additions & 0 deletions src/connectedk8s/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Release History
===============
1.3.6
++++++

* Updated patch behaviour for Azure Hybrid Benefit property

1.3.5
++++++

Expand Down
6 changes: 6 additions & 0 deletions src/connectedk8s/azext_connectedk8s/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,12 @@ def update_connected_cluster(cmd, client, resource_group_name, cluster_name, htt
patch_cc_response = update_connected_cluster_internal(client, resource_group_name, cluster_name, tags, distribution, distribution_version, azure_hybrid_benefit)

proxy_params_unset = (https_proxy == "" and http_proxy == "" and no_proxy == "" and proxy_cert == "" and not disable_proxy)

# Returning the ARM response if only AHB is being updated
arm_properties_only_ahb_set = (tags is None and distribution is None and distribution_version is None and azure_hybrid_benefit is not None)
if proxy_params_unset and auto_upgrade is None and container_log_path is None and arm_properties_only_ahb_set:
return patch_cc_response

if proxy_params_unset and not auto_upgrade and arm_properties_unset and not container_log_path:
raise RequiredArgumentMissingError(consts.No_Param_Error)

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/connectedk8s/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# TODO: Confirm this is the right version number you want and it matches your
# HISTORY.rst entry.

VERSION = '1.3.5'
VERSION = '1.3.6'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down
53 changes: 53 additions & 0 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -17219,6 +17219,59 @@
"version": "1.3.5"
},
"sha256Digest": "17ba7dd032c87e7ff4b9cce298dd81171e6e75bcfe2912f7c2f3cd1f55c00d11"
},
{
"downloadUrl": "https://azcliprod.blob.core.windows.net/cli-extensions/connectedk8s-1.3.6-py2.py3-none-any.whl",
"filename": "connectedk8s-1.3.6-py2.py3-none-any.whl",
"metadata": {
"azext.minCliCoreVersion": "2.38.0",
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License"
],
"description_content_type": "text/markdown",
"extensions": {
"python.details": {
"contacts": [
{
"email": "[email protected]",
"name": "Microsoft Corporation",
"role": "author"
}
],
"document_names": {
"description": "DESCRIPTION.rst"
},
"project_urls": {
"Home": "https://github.com/Azure/azure-cli-extensions/tree/main/src/connectedk8s"
}
}
},
"extras": [],
"generator": "bdist_wheel (0.30.0)",
"license": "MIT",
"metadata_version": "2.0",
"name": "connectedk8s",
"run_requires": [
{
"requires": [
"azure-mgmt-hybridcompute (==7.0.0)",
"kubernetes (==24.2.0)",
"pycryptodome (==3.14.1)"
]
}
],
"summary": "Microsoft Azure Command-Line Tools Connectedk8s Extension",
"version": "1.3.6"
},
"sha256Digest": "5c0c55940802239372608d9c7faf1c76e4f2f2fef5ebbd36be7011ae854a7563"
}
],
"connectedmachine": [
Expand Down

0 comments on commit 0d74a15

Please sign in to comment.