kube-secrets

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2017 License: GPL-3.0 Imports: 12 Imported by: 0

README

kube-secrets Build Status Coverage Status

Command line editor for Kubernetes secrets

Updating Kubernetes secrets is honestly a pain in the ass. This utility simplifies the process by allowing you to modify keys using your favorite editor. The base64 encoding is transparent.

This repo is setup to run and build the application inside a Docker container. For development, simply run make depends shell. From there you can edit on your host. And run the application with go run kube-secrets.go.

NOTE THIS IS A VERY EARLY STAGE APPLICATION, USE WITH CAUTION

Examples

Create or update Kubernetes secret by key
kube-secrets update test_data/sample.yml MYSQL_ROOT_PASSWORD
Create new Kubernetes secret file
kube-secrets create mysql-secret.yml MYSQL_ROOT_PASSWORD

Show value of Kubernetes secret by key

kube-secrets show test_data/sample.yml MYSQL_ROOT_PASSWORD

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