Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fluentci-io/helm-plugin

CI/CD Plugin for helm
https://github.com/fluentci-io/helm-plugin

cicd deploy helm kubernetes wasm webassembly

Last synced: about 1 month ago
JSON representation

CI/CD Plugin for helm

Awesome Lists containing this project

README

        

# Helm Plugin

[![fluentci pipeline](https://shield.fluentci.io/x/helm)](https://pkg.fluentci.io/helm)
[![ci](https://github.com/fluentci-io/helm-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/fluentci-io/helm-plugin/actions/workflows/ci.yml)

This plugin sets up your CI/CD pipeline with a specific version of [Helm](https://helm.sh/).

## 🚀 Usage

Add the following command to your CI configuration file:

```bash
fluentci run --wasm helm setup
```

## Functions

| Name | Description |
| -------- | ------------------------------------------ |
| setup | Installs a specific version of helm. |
| install | Install a chart |
| lint | Examine a chart for possible issues |
| package | Package a chart directory into a chart archive |
| pull | Pull a chart from a repository and (optionally) unpack it in local directory |
| push | Push a chart package to a chart repository |
| registry | login to or logout from a registry |
| rollback | Rollback to a previous release |
| test | Run tests for a release |
| upgrade | Upgrade a release |

## Code Usage

Add `fluentci-pdk` crate to your `Cargo.toml`:

```toml
[dependencies]
fluentci-pdk = "0.2.1"
```

Use the following code to call the plugin:

```rust
use fluentci_pdk::dag;

// ...

dag().call("https://pkg.fluentci.io/[email protected]?wasm=1", "setup", vec!["latest"])?;
```

## 📚 Examples

Github Actions:

```yaml
- name: Remove preinstalled helm
run: |
sudo rm -rf `which helm`
- name: Setup Fluent CI CLI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: helm
args: |
setup
- name: Show helm version
run: |
type helm
helm version
```