feat(k8s-tools): add Kubernetes toolchain mixin kit (kubectl, helm, k… - #137
Open
Iamrushabhshahh wants to merge 1 commit into
Open
feat(k8s-tools): add Kubernetes toolchain mixin kit (kubectl, helm, k…#137Iamrushabhshahh wants to merge 1 commit into
Iamrushabhshahh wants to merge 1 commit into
Conversation
…ind, k9s) Installs kubectl v1.36.2, helm v4.2.2, kind v0.32.0, k9s v0.51.0, and kustomize v5.8.1, each from its official release channel, version+SHA256 pinned, with amd64/arm64 detection. Ships a startup command creating /dev/kmsg (absent in the sandbox microVM, required by kubelet inside kind nodes) so 'kind create cluster' works out of the box on the sandbox's Docker daemon. Signed-off-by: Iamrushabhshahh <rushabhshah842@gmail.com>
Contributor
Author
|
@mdelapenya Would it be possible to take a look and let me know? I've tried implementing it using the v2 spec, but I'd appreciate your feedback. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mixin kit installing kubectl v1.36.2, helm v4.2.2, kind v0.32.0, k9s v0.51.0,
and kustomize v5.8.1 from official release channels, version+SHA256 pinned,
amd64/arm64 detection, schemaVersion "2".
kind create clusterruns on thesandbox's Docker daemon.
Spec choices worth flagging for review
/dev/kmsg(absent in the microVM; kubelet insidekind nodes crash-loops without it).
the allowlist grammar yet — documented in the kit README; kind itself is
unaffected.
Origin
Written for this repo, following the mise/task/trivy kit pattern.
Test plan
sbx kit validate ./k8s-tools/passes./scripts/test-kit.sh k8s-toolspasses (TCK)./scripts/test-kit-e2e.sh k8s-toolspasses under deny-all(
PASS: TestE2EKit, 151.71s); every domain fromsbx policy log, not guessedkind create cluster→ node Ready,
kubectl get nodes+helm installOK, also under deny-all