rules_helm icon indicating copy to clipboard operation
rules_helm copied to clipboard

Add module extension for importing a chart in MODULE.bazel

Open zachburg opened this issue 4 months ago • 0 comments

Based on https://github.com/bazel-contrib/rules_oci/blob/main/oci/extensions.bzl

Usage in MODULE.bazel:

helm = use_extension(@rules_helm//helm:extensions.bzl", "helm")
helm.import_repository(
    name = "bitnami_postgresql",
    url = "https://charts.bitnami.com/bitnami/postgresql-14.0.5.tgz",
)

use_repo(
    helm,
    "bitnami_postgresql",
)

zachburg avatar Aug 20 '25 16:08 zachburg