Zach Burgess
Zach Burgess
Files will be passed to `helm lint --values` to override values from the chart. Reference: https://helm.sh/docs/helm/helm_lint/#options Test chart was copied from https://github.com/abrisco/rules_helm/tree/main/tests/simple.
Fixes #77. Unlike Chart.yaml and values.yaml files in the chart root, values.schema.json is an optional file, so it is OK if it does not exist.
This will run `helm lint --strict` and fail on lint warnings. Fixes #157
`--strict` flag will make Helm fail on lint warnings: https://helm.sh/docs/helm/helm_lint/#options
When running `helm template` with the `--output-dir` flag, Helm will only write templated files that aren't empty. For example, running `helm template` for https://github.com/helm/helm/tree/9aefd2b32809960203d0178c89522f6bf3d4af9f/pkg/action/testdata/charts/chart-with-uncompressed-dependencies/charts/mariadb may not create [`secrets.yaml`](https://github.com/helm/helm/blob/9aefd2b32809960203d0178c89522f6bf3d4af9f/pkg/action/testdata/charts/chart-with-uncompressed-dependencies/charts/mariadb/templates/secrets.yaml) in the...
**What this PR does / why we need it**: This is the first step for removing the partial copy of https://github.com/golang/dep in https://github.com/helm/helm/blob/main/internal/third_party/dep/fs/fs.go, which is a deprecated and archived repo....
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", ) ```
Right now, [`helm_import_repository`](https://github.com/abrisco/rules_helm/blob/main/helm/private/helm_import.bzl) supports three different use cases: - Downloading a chart from the specified HTTP URL - Finding a chart in a [HTTP repository](https://helm.sh/docs/topics/chart_repository/) - Note that `index.yaml` _may_...