2.0.0 • Published 3 years ago

bln-ops-blueprint-library v2.0.0

Weekly downloads
14
License
ISC
Repository
-
Last release
3 years ago

bln-ops-blueprint

Description

A NodeJS CLI tool for rendering templates based on provided configuration. Useful when generating K8s YAML configuration files for new environments or clusters.

Requirements

  • NodeJS 8.12 or higher
  • NPM 6.10 or higher

Run npm i to install required dependencies and npm link to add the CLI tool to

Usage

To see available commands:

blueprint -h
Usage: blueprint [options] [command]

Options:
  -V, --version              output the version number
  -h, --help                 output usage information

Commands:
  render [options]           render a yaml service configuration file based on a template
  generate-config [options]  generate a config file with secrets that can be used consumed by blueprint

Render Templates Example

blueprint generate-config --vpc <cluster> --environment <environment> -m template/mapping.js -o ~/temp/blueprint-env.json

blueprint render -i template/<environment-type>.yaml -c ~/temp/blueprint-env.json -o vpc/<cluster>/env/<env>

Squrl encrypted config

blueprint render --encrypted-config vpc/zoo-ki3/env/shared-pre-prod/blueprint.config -i template/implementation.yaml -o vpc/zoo-ki3/env/shared-pre-prod/
2.0.0

3 years ago

1.1.0

3 years ago

1.0.10

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago