File tree Expand file tree Collapse file tree 5 files changed +25
-6
lines changed Expand file tree Collapse file tree 5 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 22
33 Release History
44===============
5+ 1.10.10
6+ +++++
7+ * Deprecated '--app-id' and '--app-secret' RBAC parameters from the extension by adding them to _breaking_change.py.
8+ * Bug fix for https://github.com/Azure/azure-cli-extensions/issues/8498.
9+ * Update warning to use the latest kubelogin version which has support for generating PoP token.
10+
5111.10.9
612++++++
713* Added support for associating and disassociating gateways in CLI and updated SDK version to '2025-08-01-preview'.
@@ -78,7 +84,7 @@ Release History
7884++++++
7985* New api version 2024-07-1-preview added
8086* Adding functionality for workload identity feature.
81- * Cluster create and update waits for agent state
87+ * Cluster create and update waits for agent state
8288
83891.7.3
8490++++++
Original file line number Diff line number Diff line change 1+ # --------------------------------------------------------------------------------------------
2+ # Copyright (c) Microsoft Corporation. All rights reserved.
3+ # Licensed under the MIT License. See License.txt in the project root for license information.
4+ # --------------------------------------------------------------------------------------------
5+ from azure .cli .core .breaking_change import register_argument_deprecate
6+
7+ register_argument_deprecate ("connectedk8s enable-features" , "--app-id" )
8+ register_argument_deprecate ("connectedk8s enable-features" , "--app-secret" )
Original file line number Diff line number Diff line change @@ -1056,10 +1056,10 @@ def arm_exception_handler(
10561056 status_code = ex .status_code
10571057 if status_code == 404 and return_if_not_found :
10581058 return
1059- if status_code is not None and status_code // 100 == 4 :
1059+ if status_code and status_code // 100 == 4 :
10601060 telemetry .set_user_fault ()
10611061 telemetry .set_exception (exception = ex , fault_type = fault_type , summary = summary )
1062- if status_code is not None and status_code // 100 == 5 :
1062+ if status_code and status_code // 100 == 5 :
10631063 raise AzureInternalError (
10641064 "Http response error occured while making ARM request: "
10651065 + str (ex )
Original file line number Diff line number Diff line change @@ -2993,6 +2993,10 @@ def enable_features(
29932993 utils .check_features_to_update (features )
29942994 )
29952995
2996+ # Initialize these variables to ensure they are always defined, preventing UnboundLocalError if only a subset of features is enabled.
2997+ final_enable_cl = False
2998+ custom_locations_oid = None
2999+
29963000 # Check if cluster is private link enabled
29973001 connected_cluster = client .get (resource_group_name , cluster_name )
29983002
@@ -3152,8 +3156,9 @@ def enable_features(
31523156 # apps for authN/authZ.
31533157 cmd_helm_upgrade .extend (["--set" , "systemDefaultValues.guard.authnMode=arc" ])
31543158 logger .warning (
3155- "Please use the kubelogin version v0.0.32 or higher which has support for generating PoP token(s). "
3156- "This is needed by guard running in 'arc' authN mode."
3159+ "[Azure RBAC] For secure authentication, ensure you have the latest kubelogin installed which supports PoP tokens. "
3160+ "This is required for Azure RBAC. Download or upgrade at: https://github.com/Azure/kubelogin/releases. "
3161+ "If you encounter authentication errors, please verify your kubelogin version and refer to the documentation: https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/azure-rbac"
31573162 )
31583163 cmd_helm_upgrade .extend (
31593164 [
Original file line number Diff line number Diff line change 1313# TODO: Confirm this is the right version number you want and it matches your
1414# HISTORY.rst entry.
1515
16- VERSION = "1.10.9 "
16+ VERSION = "1.10.10 "
1717
1818# The full list of classifiers is available at
1919# https://pypi.python.org/pypi?%3Aaction=list_classifiers
You can’t perform that action at this time.
0 commit comments