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

Add catch around Delete Service invocation #187

Merged
merged 5 commits into from
Mar 10, 2023

Conversation

elenavillamil
Copy link
Contributor

there is breaking changes between different version of kubernetes if client and server diverge enough. 1.21 and 1.22 DeleteService returns v1.Status (6.0 client sdk) while in 1.23, DeleteService returns v1.Service (7.0+ client sdk). Related issue with more details. We can control the client since it comes with bridge code (aka c# library), but we cannot control the server aka kubernetes version in the cluster. Thus exception handling is needed.

This will solve #90 and #55

@elenavillamil elenavillamil requested review from a team, Tatsinnit and sabbour as code owners March 6, 2023 20:42
Copy link
Collaborator

@hsubramanianaks hsubramanianaks left a comment

Choose a reason for hiding this comment

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

LGTM, we can merge once testing team confirms it is working, Thanks for this PR.

@elenavillamil elenavillamil merged commit ca86744 into Azure:main Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants