Skip to content

Releases: GoodwayGroup/gwsm

v0.7.2

10 Jun 20:20
Compare
Choose a tag to compare
fix(sm): fixed hanging goroutine when error returned from SM

v0.7.1

09 Jun 22:07
Compare
Choose a tag to compare
debt(version): use build flag instead of static file for versioning

v0.7.0

09 Jun 19:36
Compare
Choose a tag to compare
feat(sm): support for delete secret, deprecated custom editor code in…

v0.6.1

08 Jun 21:19
Compare
Choose a tag to compare
feat(sm): added JSON validation step to edit action that allows for v…

Support for Secrets Manager interactions

08 Jun 16:19
Compare
Choose a tag to compare

NAME

gwsm - interact with config map and secret manager variables

SYNOPSIS

gwsm

Usage:

gwsm [GLOBAL OPTIONS] command [COMMAND OPTIONS] [ARGUMENTS...]

COMMANDS

version, v

Print version info

s3

simple S3 commands

get

[object path] [destination path]

secretsmanager, sm

Secrets Manager commands

--binary, -b: get the SecretBinary value

list

display table of all secrets with meta data

describe

print description of secret to STDOUT

--secret-id, -s="": Specific Secret to view, will bypass select/search

get, view

select from list or pass in specific secret

--binary, -b: get the SecretBinary value

--secret-id, -s="": Specific Secret to view, will bypass select/search

edit, e

interactive edit of a secret String Value

--secret-id, -s="": Specific Secret to view, will bypass select/search

create, c

create new secret in Secrets Manager

--description, --desc="": Additional description text.

--interactive, -i: Open interactive editor to create secret value.

--secret-id, -s="": Secret name

--tags="": key=value tags (CSV list)

--value, -v="": Secret Value. Will store as a string, unless binary flag is set.

put

non-interactive update to a specific secret

--description, --desc="": Additional description text.

--interactive, -i: Open interactive editor to create secret value.

--secret-id, -s="": Secret name

--tags="": key=value tags (CSV list)

--value, -v="": Secret Value. Will store as a string, unless binary flag is set.

local, l

Interact with local env files

view, v

View values based on local settings

--configmap, -c="": Path to configmap.yaml

--secrets, -s="": Path to secrets.yml (default: .docker/secrets.yml)

ansible, legacy, a

View value from ansible-vault encrypted Kube Secret file.

--accessor, -a="": Accessor key to pull data out of Data block. (default: .env)

--encrypted-env-file, -e="": Path to encrypted Kube Secret file

--vault-password-file="": vault password file VAULT_PASSWORD_FILE

namespace, ns

Interact with env on a running Pod within a Namespace

view, v

View values configured withing a namespace

--cmd="": Command to inspect (default: node)

--exclude="": List (csv) of specific env vars to exclude values from display. Set to "" to remove any exclusions. (default: PATH,SHLVL,HOSTNAME)

--filter-prefix, -f="": List of prefixes (csv) used to filter values from display. Set to "" to remove any filters. (default: npm_,KUBERNETES_,API_PORT)

--namespace, -n="": Kube Namespace list Pods from

diff, d

View diff of local vs. namespace

--cmd="": Command to inspect (default: node)

--configmap, -c="": Path to configmap.yaml

--exclude="": List (csv) of specific env vars to exclude values from display. Set to "" to remove any exclusions. (default: PATH,SHLVL,HOSTNAME)

--filter-prefix, -f="": List of prefixes (csv) used to filter values from display. Set to "" to remove any filters. (default: npm_,KUBERNETES_,API_PORT)

--namespace, -n="": Kube Namespace list Pods from

--secrets, -s="": Path to secrets.yml (default: .docker/secrets.yml)

diff:legacy, diff:ansible

View diff of local (ansible encrypted) vs. namespace

--accessor, -a="": Accessor key to pull data out of Data block. (default: .env)

--dotenv="": Path to .env file on Pod (default: $PWD/.env)

--encrypted-env-file, -e="": Path to encrypted Kube Secret file

--namespace, -n="": Kube Namespace list Pods from

--vault-password-file="": vault password file VAULT_PASSWORD_FILE

v0.5.0

03 Jun 15:45
Compare
Choose a tag to compare
$ gwsm help
NAME:
   gwsm - interact with config map and secret manager variables

USAGE:
   gwsm [global options] command [command options] [arguments...]

VERSION:
   v0.5.0

AUTHORS:
   Derek Smith <[email protected]>
   Goodway Group Tech

COMMANDS:
   version, v                 Print version info
   s3                         simple S3 commands
   local, l                   Interact with local env files
   namespace, ns              Interact with env on a running Pod within a Namespace
   diff, d                    View diff of local vs. namespace
   diff:legacy, diff:ansible  View diff of local (ansible encrypted) vs. namespace
   help, h                    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

COPYRIGHT:
   (c) 2020 Goodway Group

v0.4.0

27 May 22:10
Compare
Choose a tag to compare
$ gwsm help
NAME:
   gwsm - interact with config map and secret manager variables

USAGE:
   gwsm [global options] command [command options] [arguments...]

VERSION:
   v0.4.0

AUTHORS:
   Derek Smith <[email protected]>
   GoodwayGroup Tech

COMMANDS:
   version, v                 Print version info
   local, l                   Interact with local env files
   namespace, ns              Interact with env on a running Pod within a Namespace
   diff, d                    View diff of local vs. namespace
   diff:legacy, diff:ansible  View diff of local (ansible encrypted) vs. namespace
   help, h                    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

COPYRIGHT:
   (c) 2020 Goodway Group

v0.3.0

26 May 22:51
Compare
Choose a tag to compare
chore(version): bump version to v0.3.0

v0.2.1

21 May 22:45
Compare
Choose a tag to compare
$ gwsm view local
NAME:
   gwsm view local - View values based on local settings

USAGE:
   View the current environment variables based on the LOCAL configurations for a given configmap and secrets.yml

OPTIONS:
   --secrets-path value, -s value    Path to secrets.yml (default: ".docker/secrets.yml")
   --configmap-path value, -m value  Path to configmap.yaml
   --help, -h                        show help (default: false)
$ gwsm view kube
NAME:
   gwsm view kube - View values configured withing a namesapce

USAGE:
   View the current environment variables of a given command running on a pod within a namespace.

OPTIONS:
   --namespace value, -n value  Kube Namespace
   --cmd value                  Command to grep for (default: "node")
   --filter value               Prefix used to filter unwanted env vars from printing (default: "npm_")
   --help, -h                   show help (default: false)

v0.2.0

21 May 22:43
Compare
Choose a tag to compare
chore(version): bump version to v0.2.0