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]: Remove support for az aks mesh egress gateway commands #7790

Merged
merged 22 commits into from
Jul 15, 2024

Conversation

deveshdama
Copy link
Contributor


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

az aks mesh enable-egress-gateway -n cluster-name -g rg-name
az aks mesh disable-egress-gateway -n cluster-name -g rg-name

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Copy link

azure-client-tools-bot-prd bot commented Jul 11, 2024

❌Azure CLI Extensions Breaking Change Test
❌aks-preview
rule cmd_name rule_message suggest_message
1002 - CmdRemove aks mesh disable-egress-gateway cmd aks mesh disable-egress-gateway removed please confirm cmd aks mesh disable-egress-gateway removed
1002 - CmdRemove aks mesh enable-egress-gateway cmd aks mesh enable-egress-gateway removed please confirm cmd aks mesh enable-egress-gateway removed

@yonzhan
Copy link
Collaborator

yonzhan commented Jul 11, 2024

AKS

Copy link

⚠️ Release Suggestions

Module: aks-preview

  • ⚠️ Please update VERSION to be 5.0.0b4 in src/aks-preview/setup.py

Notes

  • Stable/preview tag is inherited from last release. If needed, please add stable/preview label to modify it.
  • Major/minor/patch/pre increment of version number is calculated by pull request code changes automatically. If needed, please add major/minor/patch/pre label to adjust it.
  • For more info about extension versioning, please refer to Extension version schema

Copy link
Member

@FumingZhang FumingZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but should update the major version as this is a breaking change.

@@ -396,23 +396,12 @@ def load_command_table(self, _):
"aks_mesh_enable_ingress_gateway",
supports_no_wait=True,
)
g.custom_command(
"enable-egress-gateway",
"aks_mesh_enable_egress_gateway",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I think you should also delete the command implementations, like function aks_mesh_disable_egress_gateway in custom.py

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would like to keep this if possible as we will likely reintroduce egress gateway in the near future.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Niranjan here, we would like to keep it as we see that egress gateway functionality will be reintroduced. This PR is to just remove user/test facing code components. @FumingZhang let us know your thoughts?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, get it

@yanzhudd yanzhudd merged commit 0c4184a into Azure:main Jul 15, 2024
18 checks passed
@azclibot
Copy link
Collaborator

[Release] Update index.json for extension [ aks-preview ] : https://dev.azure.com/azclitools/release/_build/results?buildId=172360&view=results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS Auto-Assign Auto assign by bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants