Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.03 KB

Kubernetes Secret Decode .Net edition

Push NuGet package

Inspired by https://github.com/ashleyschuett/kubernetes-secret-decode

Reasons for existing this project:

  • Primary: Learning of Writing kubectl plugins
  • Secondary: Original kubernetes-secret-decode has no Windows compatible binaries in releases.

Installation

NuGet Badge

dotnet tool install --global KubernetesSecretDecode <version>

Add PowerShell alias

Open $PROFILE in text editor and add following line

function kksd() { & kubectl ksddotnet get secret -oyaml $args }

Using

# Full command example
kubectl ksddotnet get secret -oyaml <secret-name>

# Using kksd alias
kksd <secret-name>