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 to upgrade command #2672

Merged
merged 1 commit into from
Jul 11, 2024
Merged

Conversation

michi-covalent
Copy link
Contributor

The upgrade command performs the same validation checks as the install command, so add --disable-check flag to the upgrade command as well.

Fixes: a5598ec ("Add --disable-check flag back")

The upgrade command performs the same validation checks as the install
command, so add --disable-check flag to the upgrade command as well.

Fixes: a5598ec ("Add --disable-check flag back")
Signed-off-by: Michi Mutsuzaki <[email protected]>
@michi-covalent
Copy link
Contributor Author

✅ tested manually ✨

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

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

@michi-covalent michi-covalent marked this pull request as ready for review July 11, 2024 05:28
@michi-covalent michi-covalent requested a review from a team as a code owner July 11, 2024 05:28
@michi-covalent michi-covalent requested a review from asauber July 11, 2024 05:28
@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 11, 2024
@asauber
Copy link
Member

asauber commented Jul 11, 2024

gotta love that this was already factored out 🚀

@michi-covalent michi-covalent merged commit b723c59 into main Jul 11, 2024
13 checks passed
@michi-covalent michi-covalent deleted the pr/michi/check branch July 11, 2024 14:38
michi-covalent added a commit to cilium/cilium that referenced this pull request Jul 11, 2024
- Run cilium-cli inside a container in preparation to merge cilium-cli
  repo to cilium repo as proposed in CFP-25694 [^1].
- Move "Install Cilium CLI" step after "Create kind cluster" step so that
  cilium-cli can access .kube/config file.
- Bump cilium-cli version to v0.16.13 to pick up cilium/cilium-cli#2672
- Add --disable-check=minimum-version flag to cilium install. Checking
  Kind version doesn't make sense when you run cilium-cli from inside a
  container since it cannot access the kind binary on the host.

[^1]: cilium/design-cfps#9

Signed-off-by: Michi Mutsuzaki <[email protected]>
michi-covalent added a commit to cilium/cilium that referenced this pull request Jul 11, 2024
- Run cilium-cli inside a container in preparation to merge cilium-cli
  repo to cilium repo as proposed in CFP-25694 [^1].
- Move "Install Cilium CLI" step after "Create kind cluster" step so
  that cilium-cli can access .kube/config file.
- Bump cilium-cli version to v0.16.13 to pick up cilium/cilium-cli#2672
- Add --disable-check=minimum-version flag to cilium install. Checking
  Kind version doesn't make sense when you run cilium-cli from inside a
  container since it cannot access the kind binary on the host.

[^1]: cilium/design-cfps#9

Signed-off-by: Michi Mutsuzaki <[email protected]>
github-merge-queue bot pushed a commit to cilium/cilium that referenced this pull request Jul 11, 2024
- Run cilium-cli inside a container in preparation to merge cilium-cli
  repo to cilium repo as proposed in CFP-25694 [^1].
- Move "Install Cilium CLI" step after "Create kind cluster" step so
  that cilium-cli can access .kube/config file.
- Bump cilium-cli version to v0.16.13 to pick up cilium/cilium-cli#2672
- Add --disable-check=minimum-version flag to cilium install. Checking
  Kind version doesn't make sense when you run cilium-cli from inside a
  container since it cannot access the kind binary on the host.

[^1]: cilium/design-cfps#9

Signed-off-by: Michi Mutsuzaki <[email protected]>
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