vcs-hosted-k8s-helm-installer
VCS Hosted Kubernetes Helm Installer provides a simple API designed to perform install and upgrade operations for Kubernetes Helm based configuration APPs hosted in a Version Control System (curretly supports Git and TFS).
Last updated a year ago by matheusneder .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vcs-hosted-k8s-helm-installer 
SYNC missed versions from official npm registry.

VCS Hosted Kubernetes Helm Installer

Build Status

VCS Hosted Kubernetes Helm Installer provides a simple API designed to perform install and upgrade operations for Kubernetes Helm based configuration APPs hosted in a Version Control System (curretly supports Git and TFS).

Installation

VCS Hosted Kubernetes Helm Installer is available as npm package.

$ npm install vcs-hosted-k8s-helm-installer

Usage example

This example uses VCS Getter library which is not a dependency of VCS Hosted Kubernetes Helm Installer, so you must install it in addition to VCS Hosted Kubernetes Helm Installer:

$ npm install vcs-getter
#!/usr/bin/env node

const { VCSGetter } = require("vcs-getter");
const { Installer } = require("vcs-hosted-k8s-helm-installer");

async function myExample() {
    const installer = new Installer({
        namespace: "vcs-hosted-k8s-helm-installer", 
        globalValues: { "replicaCount": 2 },
        vcsGetter: new VCSGetter()
    });

    try {
        await installer.installOrUpgrade({
          name: "appname",
          source: "https://github.com/you/yourapp/tree/branch/path/to/helm/chart",
          values: {
            cpuLimit: "500m"
          }
        });
    } finally {
        installer.dispose();
    }
}

myExample().catch(e => console.error(e));

Current Tags

  • 2.0.3                                ...           latest (a year ago)

5 Versions

  • 2.0.3                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 1.0.2                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 9
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |