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

Remove kubectl version check #117

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

d1egoaz
Copy link
Contributor

@d1egoaz d1egoaz commented Oct 13, 2023

I noticed a check that verifies if the server version is greater than 1.13. As per the Kubernetes release documentation (https://kubernetes.io/releases/patch-releases/), version 1.13 has reached its end-of-life (EOL) status since 2019. Considering this information, I strongly believe that this check is unnecessary and can be safely removed.

It's only used here:

Removing this check will not impact the functionality of the codebase, as it is only required for outdated Kubernetes versions that are more than four years old and no longer supported. It is highly unlikely that anyone would be using such an outdated version that cannot be found online for download.

By removing this unnecessary code, we can eliminate technical debt and improve the overall readability and maintainability of the codebase.

Thank you for considering this proposal.

I noticed a check that verifies if the server version is greater than 1.13. As per the Kubernetes
release documentation (https://kubernetes.io/releases/patch-releases/), version 1.13 has reached its
end-of-life (EOL) status since 2019. Considering this information, I strongly believe that this
check is unnecessary and can be safely removed.

It's only used here:
- https://github.com/abrochard/kubel/blob/a84f09cca8cdc71d55aa78304db4156df46d04e8/kubel.el#L896

Removing this check will not impact the functionality of the codebase, as it is only required for
outdated Kubernetes versions that are more than four years old and no longer supported. It is highly
unlikely that anyone would be using such an outdated version that cannot be found online for
download.

By removing this unnecessary code, we can eliminate technical debt and improve the overall
readability and maintainability of the codebase.

Thank you for considering this proposal.
Copy link
Owner

@abrochard abrochard left a comment

Choose a reason for hiding this comment

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

This is great! Thank you for simplifying the codebase!

@abrochard abrochard merged commit 4e3d362 into abrochard:master Nov 14, 2023
4 checks passed
@d1egoaz d1egoaz deleted the remove-client-version branch November 14, 2023 17:49
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.

2 participants