Skip to content

Bazel rules to manipulate and operate Helm charts with Bazel, decrpyt sops secrets, and run operations over cloud services

License

Notifications You must be signed in to change notification settings

masmovil/masorange_rules_helm

Repository files navigation

Masorange rules helm

This repository contains Bazel rules to manipulate and operate Helm charts with Bazel, decrpyt sops secrets, and run operations over cloud services.

Installation

These rules support installation via both bzlmod and non-bzlmod.

Check out github releases page to see the latest version of the rules and how to install them using bazel.

Helm

  • helm_chart Package a helm chart into a targz archive with custom values and configuration
  • helm_lint_test Lint and test that a helm chart is well-formed. Wrapper around helm lint command
  • helm_push Publish a helm chart produced by helm_chart rule to a remote registry.
  • helm_pull Repository rule to download a helm_chart from a remote registry.
  • helm_release Installs or upgrades a helm chart in to a cluster using the helm binary toolchain.
  • helm_uninstall Uninstall a helm release.

Sops

k8s

  • k8s_namespace Create a kubernetes namespace in a k8s cluster with workload identity support. You can also configure GKE Workload Identity with it.

gcs

  • gcs_upload Upload a file to a Google Cloud Storage bucket

Toolchains

Contribute