secretkube

module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT

README

Secret Kube

Go Report Card

Table of Contents

(Table of contents goes here)

This tool will allow you to keep the keys in your json file and base64 the contents and apply them to your Kubernetes cluster.

Usually when you create a secret in Kubernetes, you will do the following:

kubectl create secret generic <secret-name> --from-file=<file-name>

The key of your secret will be the file name and everything will be base64 encoded. This becomes a problem when you want to take a JSON file and have the keys for your secret, be the keys not base64 encoded but the contents base64 encoded.

How to install

go get -u github.com/troy0820/secretkube/cmd/secretkube

Dependencies vendored with dep go 1.11 modules

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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