Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bln-ops-blueprint-library

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bln-ops-blueprint-library

Helper tool for parsing and rendering templates

  • 1.0.8
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

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.10 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:
  -h, --help        output usage information

Commands:
  render [options]  render a yaml service configuration file based on a template

Render templates

render command requires a config file (a sample config file is given in config/defaults.json), a directory containing template (templates/example.yaml.template), and an output directory:

blueprint render -h
Usage: render [options]

render a yaml service configuration file based on a template

Options:
  -V, --version               output the version number
  -c --config <config>        Configuration file that contains enironment specific variables
  -d --directory <directory>  Directory of templates that will be used for generating yaml files
  -o --output <output>        Output directory
  -h, --help                  output usage informatio

Example: blueprint render -c config/defaults.json -d templates -o ./

FAQs

Package last updated on 30 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc