From 7cadf21bdd498ddc81adf71663593d9445050117 Mon Sep 17 00:00:00 2001 From: Vitor Floriano <107767584+vitorfloriano@users.noreply.github.com> Date: Sun, 20 Jul 2025 10:05:40 -0300 Subject: [PATCH] add --force flag to alpha update This commit adds the --force flag to the alpha update command. It also adds documentation for the flag. The --force flag makes it possible to run the alpha update command in CI workflows. --- .../src/reference/commands/alpha_update.md | 55 +++++++++++++++++-- pkg/cli/alpha/internal/update/update.go | 11 +++- pkg/cli/alpha/update.go | 12 +++- 3 files changed, 70 insertions(+), 8 deletions(-) diff --git a/docs/book/src/reference/commands/alpha_update.md b/docs/book/src/reference/commands/alpha_update.md index 3d937794508..017bd57efda 100644 --- a/docs/book/src/reference/commands/alpha_update.md +++ b/docs/book/src/reference/commands/alpha_update.md @@ -61,6 +61,12 @@ kubebuilder alpha update \ --from-branch=main ``` +Force update even with merge conflicts: + +```sh +kubebuilder alpha update --force +``` +