A Cake AddIn that extends Cake with Kubectl command tools.
Branch | Status |
---|---|
Master | |
Develop |
1.1.0
- References Cake 4.0.0
- Drops support for .NET Framework
- Supports .net 6+
- built against Kubectl 1.27.2
1.0.0 This version is built against Kubectl CLI tools version 1.14.
Including addin in cake script is easy.
#addin "Cake.Kubectl"
To use the addin just add it to Cake call the aliases and configure any settings you want.
#addin "Cake.Kubectl"
...
// How to login using a token
Task("Create")
.Does(() => {
KubectlCreate(new KubectlCreateSettings{ Filename = "path" });
});
Other commands follow same convention.
Brought to you by Miha Markic (@MihaMarkic) and contributors.