A helm wrapper for node.

const helm = require('helm-wrapper');

Installation

This is a Node.js module available through the npm registry.

You need to have Helm (>= v3.0) installed

Installation is done using the npm install command:

$ npm install helm-wrapper

Docs

Check API Docs for more details.

Features

  • Install packages
  • Upgrade packages
  • List packages
  • History of packages
  • Rollback packages
  • Uninstall packages
  • Custom commands

Examples

const helm = require('./index');

/**
 * install a release
 */
helm.install('nginx', 'bitnami/nginx');

/**
 * install a release with flags
 */
helm.install('nginx', 'bitnami/nginx', ['-n stage']);

/**
 * upgrade a release
 */
helm.upgrade('nginx', 'bitnami/nginx');

/**
 * rollback a release
 */
helm.rollback('nginx', 1);

/**
 * list releases
 */
helm.list();

/**
 * list release history
 */
helm.history('nginx');

/**
 * uninstall release
 */
helm.uninstall('nginx');

License

MIT