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

Do not call utils.CheckVersion() in Helm mode #1697

Merged
merged 2 commits into from
Jun 5, 2023
Merged

Conversation

michi-covalent
Copy link
Contributor

2 commits for helm mode:

  • for uninstall, cilium-cli does not need to know the running cilium version since it simply runs helm uninstall.
  • for install, --version specifies the Helm chart version. cilium-cli succeeds or fails depending on whether the specified version either exists or it doesn't. there is no need to perform additional version format check.

Helm mode does not need to know the Cilium version to perform
uninstallation.

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
CheckVersion() is only relevant to the classic mode.

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
@michi-covalent michi-covalent requested a review from a team as a code owner June 2, 2023 18:36
@michi-covalent michi-covalent temporarily deployed to ci June 2, 2023 18:36 — with GitHub Actions Inactive
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jun 5, 2023
@jrajahalme jrajahalme merged commit f2cab13 into main Jun 5, 2023
19 checks passed
@jrajahalme jrajahalme deleted the pr/michi/struggle branch June 5, 2023 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants