Skip to content

feat: tidy preflight internal types#678

Open
shanshanying wants to merge 3 commits into
mainfrom
feature/tidy-preflight-internal-types
Open

feat: tidy preflight internal types#678
shanshanying wants to merge 3 commits into
mainfrom
feature/tidy-preflight-internal-types

Conversation

@shanshanying
Copy link
Copy Markdown
Contributor

@shanshanying shanshanying commented May 25, 2026

Keep KubeBlocks preflight on the native troubleshoot Preflight API and limit the default checks to cluster-side requirements: Kubernetes version, node count, and required VolumeSnapshot CRDs.

Remove host preflight loading and execution, provider-specific preflight YAMLs, and the KubeBlocks-specific extend analyzer/collector/type layers that were only used by the removed checks.

Update tests and fixtures for native Preflight-only parsing and execution. Do not upgrade github.com/replicatedhq/troubleshoot because v0.123.0 requires a newer Kubernetes dependency stack than this branch currently supports.
@github-actions github-actions Bot added the size/XXL Denotes a PR that changes 1000+ lines. label May 25, 2026
@shanshanying shanshanying changed the title tidy preflight internal types feat: tidy preflight internal types May 25, 2026
Pin github.com/cyphar/filepath-securejoin to v0.5.1 via replace. containers/storage v1.59.1 still imports the legacy OpenInRoot and Reopen wrappers from the root package, while v0.6.x removes those wrappers.

v0.5.1 keeps the legacy root-package wrappers and still provides pathrs-lite for opencontainers/selinux, which fixes the golangci-lint typecheck failure on Linux without changing the troubleshoot version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XXL Denotes a PR that changes 1000+ lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant