npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@fbl-plugins/k8s-helm

v1.3.1

Published

FBL plugin for K8s Helm CLI

Downloads

41

Readme

FBL Plugins: K8s Helm

Install, Update, Delete helm chart releases with ease in your fbl flows.

Tests Known Vulnerabilities codecov Total alerts Language grade: JavaScript

Purpose

fbl is a flow automation tool. That generally means it can automate any kind of routine processes and allows to create some really complex combinations of actions, even non related to deployment (probably, the main reason why you're currently reading this now).

While cluster deployment is in some cases really simple and some PaaS providers already support cluster creation withing few commands / mouse clicks, service deployment into the cluster is not trivial like that.

At FireBlink we generally treat entire cluster as a single product. As any other software product update of any of its dependencies may lead to unexpected behaviour. We never trust 3rd party vendors to have backward compatibility. So the only way we can be sure that all the services will work consistantly across environment is lock of the versions.

As cluster is a product, it has it's own version, migration scripts, and set of helm/kubectl commands required to stand up / update the cluster.

To help with that 2 main plugins for FBL has been created:

Generally both plugins are used together, as Secrets should be created outside the helm chart.

Sensitive information can be hosted inside the Git repo and encrypted with @fbl-plugins/crypto.

Flexibility of the deployment is the key concept of FBL and plugins, as we never know what challenges we need to resolve the following day.

Examples

Check fbl-examples repository for usage examples.

Integration

There are multiple ways how plugin can be integrated into your flow.

package.json

This is the most recommended way. Create package.json next to your flow file with following content:

{
  "name": "flow-name",
  "version": "1.0.0",
  "description": "",
  "scripts": {
    "fbl": "fbl"
  },
  "license": "UNLICENSED",
  "dependencies": {
    "@fbl-plugins/k8s-helm": "1.1.1",
    "fbl": "1.12.0"
  }
}

Then you can install dependencies as any other node module yarn install depending on the package manager of your choice.

After that you can use yarn fbl <args> to execute your flow or even register a custom script inside "scripts".

Global installation

npm i -g @fbl-plugins/k8s-helm

Register plugin to be accessible by fbl

  • via cli: fbl -p @fbl-plugins/k8s-helm <args>
  • via flow:
requires:
  fbl: '>=1.12.0 <2.0.0'
  plugins:
    '@fbl-plugins/k8s-helm': '>=1.1.1'

pipeline:
  # your flow goes here

Action Handlers