Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.44 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.44 KB

Cake.Kubectl

A Cake AddIn that extends Cake with Kubectl command tools.

cakebuild.net NuGet

Branch Status
Master Build status
Develop Build status

Important

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

Including addin in cake script is easy.

#addin "Cake.Kubectl"

Usage

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.

Credits

Brought to you by Miha Markic (@MihaMarkic) and contributors.