Files
herolib/examples/installers/virt/kubernetes.vsh
Mahmoud-Emad 79b78aa6fe feat: Implement Kubernetes installer for kubectl
- Add install functionality for kubectl
- Implement destroy functionality for kubectl
- Add platform-specific download URLs for kubectl
- Ensure .kube directory is created with correct permissions
2025-10-29 13:32:43 +03:00

12 lines
285 B
GLSL
Executable File

#!/usr/bin/env -S v -n -w -gc none -cc tcc -d use_openssl -enable-globals run
import incubaid.herolib.installers.virt.kubernetes_installer
mut kubectl := kubernetes_installer.get(name: 'k_installer', create: true)!
// To install
kubectl.install()!
// To remove
kubectl.destroy()!