Work in Progress
Collection of tools to ease the deploy of applications
gobinaries.com method
Install to /usr/local/bin
curl -sf https://gobinaries.com/BraspagDevelopers/bpdt | shYou can also specify a custom directory where to download the binary file
# Install on the current directory
curl -sf https://gobinaries.com/BraspagDevelopers/bpdt | PREFIX=. sh# Install on /tmp
curl -sf https://gobinaries.com/BraspagDevelopers/bpdt | PREFIX=/tmp shgo install github.com/BraspagDevelopers/bpdt@latestConvert multiples appsettings.*.json files to .env file syntax
bpdt export-settings [-d <dir>] -f <file1> -f <file2>--directory,-d: Directory where the files will be looked for--file,-f: Files that will be used as input
Add clear text passwords to a nuget config file
bpdt patch-nuget <path> <nugetSource> <username> <password><path>: Path of the nuget config file<nugetSource>: Nuget source to which add the credentials<username>: Username<password>: Password
Add entries to a YAML element using a .env file as input
bpdt env-to-yaml <.env-file-path> <yaml-file-path><.env-file-path>: Path of the .env file<yaml-file-path>: Path of the YAML file
--directory,-d: Directory where the files will be looked for--ypath: A period separated string indicating where in the YAML the variables should be appended
Adds a secret key reference variable to a yaml file. The file is tipically a kubernetes Deployment or Pod resource file.
bpdt ref-secrets <file-path> <secret-name><file-path>: Path of the .env file<secret-name>: Path of the YAML file
-
--ypath: A period separated string indicating where in the YAML the variables are placed. Default:spec.template.spec.containers.0.env -
--directory,-d:: Directory where the files will be looked for. Default: working directory -
--prefix,-p: The prefix for the secret variables. Default:#<Secret>{ -
--suffix,-s: The suffix for the secret variables. Default:}#