Skip to content
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
5 changes: 5 additions & 0 deletions src/aks-preview/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ To release a new version, please select a new version number (usually plus 1 to

Pending
+++++++


14.0.0b2
+++++++
* Update the `disable-egress-gateway` subcommand to fix `--help` output for the `az aks mesh` command.
* Vendor new SDK and bump API version to 2025-01-02-preview.
* Modify behavior for `--nodepool-initialization-taints` to ignore taints with hard effects on node pools with system mode when creating or updating a cluster.

Expand Down
2 changes: 1 addition & 1 deletion src/aks-preview/azext_aks_preview/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -3106,7 +3106,7 @@

helps['aks mesh disable-egress-gateway'] = """
type: command
short-summary: Disable an Azure Service Mesh ingress gateway.
short-summary: Disable an Azure Service Mesh egress gateway.
long-summary: This command disables an Azure Service Mesh egress gateway in given cluster.
parameters:
- name: --istio-eg-gtw-name --istio-egressgateway-name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2402,6 +2402,13 @@ def _handle_egress_gateways_asm(self, new_profile: ServiceMeshProfile) -> Tuple[
f'Egress gateway {istio_egressgateway_name} '
f'in namespace {istio_egressgateway_namespace} is already disabled.'
)
if egress.enabled and enable_egress_gateway:
if egress.gateway_configuration_name == gateway_configuration_name:
raise ArgumentUsageError(
f'Egress gateway {istio_egressgateway_name} '
f'in namespace {istio_egressgateway_namespace} is already enabled '
f'with gateway configuration name {gateway_configuration_name}.'
)
egress.enabled = enable_egress_gateway
# only update gateway configuration name for enabled egress gateways
if enable_egress_gateway:
Expand Down
2 changes: 1 addition & 1 deletion src/aks-preview/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from setuptools import setup, find_packages

VERSION = "14.0.0b1"
VERSION = "14.0.0b2"

CLASSIFIERS = [
"Development Status :: 4 - Beta",
Expand Down
Loading