helm-wrapper-rs

Crates.iohelm-wrapper-rs
lib.rshelm-wrapper-rs
version0.4.1
created_at2024-12-21 15:20:22.738935+00
updated_at2025-05-25 12:24:07.715566+00
descriptionHelm wrapper library for Rust
homepagehttps://github.com/lebe-dev/helm-wrapper-rs
repositoryhttps://github.com/lebe-dev/helm-wrapper-rs
max_upload_size
id1491079
size68,227
Eugene Lebedev (lebe-dev)

documentation

README

helm-wrapper-rs

Helm wrapper library for Rust.

Commands supported:

  • List releases
  • Install chart (through helm upgrade --install)
  • Uninstall chart
  • Safety mode (by default). Don't log sensitive data.

Getting started

To use helm-wrapper-rs, add it to your Cargo.toml:

[dependencies]
helm-wrapper-rs = "0.4.1"

Features

  • blocking (default)
  • nonblocking

Examples

Check examples directory for usage examples.

Mock

Add blocking-mock or nonblocking-mock features:

helm-wrapper-rs = { version = "0.4.1", features = ["blocking-mock"] }

Then use MockHelmExecutor.

Development

First of all I suggest you to install mold linker for faster compilation time.

Run integration tests

Kubernetes cluster is required. You can use K3s:

curl -sfL https://get.k3s.io | sh -
chown $USER: /etc/rancher/k3s/k3s.yaml
chmod g-r /etc/rancher/k3s/k3s.yaml

export KUBECONFIG=/etc/rancher/k3s/k3s.yaml

Run tests:

cargo test --no-default-features --features "blocking"
cargo test --no-default-features --features "nonblocking"

RoadMap

  • Strict type checking with nutype
Commit count: 57

cargo fmt