Skip to content

Fix: validate all cli #145

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

Merged
merged 2 commits into from
Aug 12, 2025
Merged

Fix: validate all cli #145

merged 2 commits into from
Aug 12, 2025

Conversation

gossion
Copy link
Member

@gossion gossion commented Aug 11, 2025

The validator is missing several CLI tool validations. Here are the CLI tools being used by the system:

az - Already validated ✅
kubectl - Always required (core Kubernetes functionality) ❌ Missing validation
helm - Used by Inspektor Gadget component and optional additional tools ❌ Missing validation (update: IG will be changed to use go sdk)
cilium - Optional tool (when enabled via --additional-tools) ❌ Missing validation

This PR is to add validation for them.

@gossion
Copy link
Member Author

gossion commented Aug 11, 2025

now some tools could be not functional if related cli does not exist, so I am making this change. however, with the validations it will always require 'az', 'kubectl', 'helm', what if the user don't need to work with these tools? we need to discuss on this situation first before merging the PR.

@gossion gossion marked this pull request as draft August 11, 2025 05:52
@gossion gossion marked this pull request as ready for review August 12, 2025 01:02
Copy link
Member

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

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

/lgtm

@feiskyer feiskyer merged commit 7c1088c into main Aug 12, 2025
9 checks passed
@feiskyer feiskyer deleted the guwe/validate-cli branch August 12, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants