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 --disable-check flag back #2655

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Add --disable-check flag back #2655

merged 1 commit into from
Jul 3, 2024

Conversation

michi-covalent
Copy link
Contributor

I accidentally removed this flag in #2328. Validation checks still exist 1, so it's useful to have this flag.

Tested locally by disabling Kind version check:

% ./cilium install --disable-check=minimum-version
🔮 Auto-detected Kubernetes kind: kind
✨ Running "kind" validation checks
⏭️   Skipping disabled validation test "minimum-version"
ℹ️   Using Cilium version 1.15.6
🔮 Auto-detected cluster name: kind-chart-testing
🔮 Auto-detected kube-proxy has been installed

Fixes: e435b47 ("Delete classic mode install/uninstall/upgrade commands")

Footnotes

  1. https://github.com/cilium/cilium-cli/blob/120fcbbb52845e04f94412fb44190ac450080a61/install/autodetect.go#L24-L33

I accidentally removed this flag in #2328. Validation checks still
exist [^1], so it's useful to have this flag.

Tested locally by disabling Kind version check:

    % ./cilium install --disable-check=minimum-version
    🔮 Auto-detected Kubernetes kind: kind
    ✨ Running "kind" validation checks
    ⏭️   Skipping disabled validation test "minimum-version"
    ℹ️   Using Cilium version 1.15.6
    🔮 Auto-detected cluster name: kind-chart-testing
    🔮 Auto-detected kube-proxy has been installed

Fixes: e435b47 ("Delete classic mode install/uninstall/upgrade commands")

[^1]: https://github.com/cilium/cilium-cli/blob/120fcbbb52845e04f94412fb44190ac450080a61/install/autodetect.go#L24-L33

Signed-off-by: Michi Mutsuzaki <[email protected]>
@michi-covalent michi-covalent marked this pull request as ready for review July 2, 2024 23:56
@michi-covalent michi-covalent requested a review from a team as a code owner July 2, 2024 23:56
Copy link
Member

@mhofstetter mhofstetter left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@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 Jul 3, 2024
@michi-covalent michi-covalent merged commit a5598ec into main Jul 3, 2024
13 checks passed
@michi-covalent michi-covalent deleted the pr/michi/flag branch July 3, 2024 06:33
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.

2 participants