- 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
12 lines
285 B
GLSL
Executable File
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()!
|