-
Notifications
You must be signed in to change notification settings - Fork 608
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
flux check
Command Fails to Detect Missing Components
#5051
Comments
After reviewing Lines 196 to 225 in 5350425
If this is indeed unintended behavior and not by design, I’d be interested in working on a fix for this issue. Please let me know if further investigation is needed or if this could be opened for contribution. |
Describe the bug
When using
flux check
, the command does not properly verify the presence of all specified components. This issue occurs when some Flux components are missing but is not detected byflux check
, leading it to incorrectly report success.Steps to reproduce
Bootstrap Flux with the following command:
Run
flux check
:Delete all but one Flux deployment:
Run
flux check
again:✔ all checks passed
.Run
flux check
with specific components:--components
argument.✔ all checks passed
.Expected behavior
After deleting some default components,
flux check
should fail and report missing components. When components are explicitly passed with the--components
argument,flux check
should verify the presence of each specified component and fail if any are absent.Screenshots and recordings
No response
OS / Distro
macOS 14.6.1
Flux version
flux: v2.4.0
Flux check
Git provider
GitHub
Container Registry provider
DockerHub
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: