rules_helm
rules_helm copied to clipboard
Add module extension for importing a chart in MODULE.bazel
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",
)