leviathan

command module
v0.0.0-...-40bc960 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

README

leviathan

Easily encode/decode Kubernetes "Secrets" yaml.

Kubernetes stores secrets as base64 encoded values. leviathan is a tool that allows you to encode/decode these values in yaml without altering the structure.

Installation

go get -u github.com/fardog/leviathan

Usage

Decode secrets in a yaml file output from Kubernetes

kubectl get secret/my-secret -o yaml > output.yaml
leviathan output.yaml
# some editing to output.yaml occurrs
leviathan --encode output.yaml

You can also pipe into leviathan directly:

kubectl get secret/my-secret -o yaml | leviathan

License

Apache-2.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL