This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Helm

Helm rules

1 - al_helm_binary

al_helm_binary

load("@com_alwaldend_src//bzl/rules/helm:al_helm_binary.bzl", "al_helm_binary")

al_helm_binary(name, arguments, cd, chart)

Helm binary

ATTRIBUTES

Name Description Type Mandatory Default
name A unique name for this target. Name required
arguments Helm arguments List of strings optional []
cd Cd to a directory before running bazel String optional ""
chart Helm chart Label optional None

2 - al_helm_chart

al_helm_chart

load("@com_alwaldend_src//bzl/rules/helm:al_helm_chart.bzl", "al_helm_chart")

al_helm_chart(name, deps, package, source)

Helm chart

ATTRIBUTES

Name Description Type Mandatory Default
name A unique name for this target. Name required
deps Helm chart deps List of labels optional []
package Helm chart package Label optional None
source Helm chart source Label optional None

3 - al_helm_chart_info

AlHelmChartInfo

load("@com_alwaldend_src//bzl/rules/helm:al_helm_chart_info.bzl", "AlHelmChartInfo")

AlHelmChartInfo(source, package, deps, files_info)

Information about a helm chart

FIELDS

Name Description
source Chart sources (PackageFilegroupInfo, optional)
package Chart package (tgz file)
deps Chart deps (depset of AlHelmChartInfo)
files_info Chart file structure (PackageFilesInfo)

4 - al_helm_deps

al_helm_deps

al_helm_deps = use_extension("@com_alwaldend_src//bzl/rules/helm:al_helm_deps.bzl", "al_helm_deps")
al_helm_deps.from_lock(chart_lock, debug, helm_lock)

Extension to download helm dependencies

TAG CLASSES

from_lock

Attributes

Name Description Type Mandatory Default
chart_lock Lock label Label required
debug Enable debug Boolean optional False
helm_lock Helm lock label Label required

5 - al_helm_toolchain

al_helm_toolchain

load("@com_alwaldend_src//bzl/rules/helm:al_helm_toolchain.bzl", "al_helm_toolchain")

al_helm_toolchain(name, helm)

Helm toolchain

ATTRIBUTES

Name Description Type Mandatory Default
name A unique name for this target. Name required
helm Helm binary Label required

6 - Bazel targets

NameInfo
al_helm_binary
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_binary
ruleClassbzl_library
visibility
  • //visibility:public
al_helm_binary.stardoc
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_binary.stardoc
ruleClassgenrule
ruleOutput
  • //bzl/rules/helm:al_helm_binary.stardoc.md
visibility
  • //visibility:private
al_helm_binary.stardoc_raw
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_binary.stardoc_raw
ruleClassstardoc_markdown_renderer
ruleOutput
  • //bzl/rules/helm:al_helm_binary.stardoc_raw.md
visibility
  • //visibility:private
al_helm_binary.stardoc_raw.extract
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_binary.stardoc_raw.extract
ruleClassstarlark_doc_extract
ruleOutput
  • //bzl/rules/helm:al_helm_binary.stardoc_raw.extract.binaryproto
  • //bzl/rules/helm:al_helm_binary.stardoc_raw.extract.textproto
visibility
  • //visibility:private
al_helm_chart
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_chart
ruleClassbzl_library
visibility
  • //visibility:public
al_helm_chart.stardoc
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_chart.stardoc
ruleClassgenrule
ruleOutput
  • //bzl/rules/helm:al_helm_chart.stardoc.md
visibility
  • //visibility:private
al_helm_chart.stardoc_raw
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_chart.stardoc_raw
ruleClassstardoc_markdown_renderer
ruleOutput
  • //bzl/rules/helm:al_helm_chart.stardoc_raw.md
visibility
  • //visibility:private
al_helm_chart.stardoc_raw.extract
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_chart.stardoc_raw.extract
ruleClassstarlark_doc_extract
ruleOutput
  • //bzl/rules/helm:al_helm_chart.stardoc_raw.extract.binaryproto
  • //bzl/rules/helm:al_helm_chart.stardoc_raw.extract.textproto
visibility
  • //visibility:private
al_helm_chart_info
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_chart_info
ruleClassbzl_library
visibility
  • //visibility:public
al_helm_chart_info.stardoc
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_chart_info.stardoc
ruleClassgenrule
ruleOutput
  • //bzl/rules/helm:al_helm_chart_info.stardoc.md
visibility
  • //visibility:private
al_helm_chart_info.stardoc_raw
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_chart_info.stardoc_raw
ruleClassstardoc_markdown_renderer
ruleOutput
  • //bzl/rules/helm:al_helm_chart_info.stardoc_raw.md
visibility
  • //visibility:private
al_helm_chart_info.stardoc_raw.extract
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_chart_info.stardoc_raw.extract
ruleClassstarlark_doc_extract
ruleOutput
  • //bzl/rules/helm:al_helm_chart_info.stardoc_raw.extract.binaryproto
  • //bzl/rules/helm:al_helm_chart_info.stardoc_raw.extract.textproto
visibility
  • //visibility:private
al_helm_deps
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_deps
ruleClassbzl_library
visibility
  • //visibility:public
al_helm_deps.stardoc
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_deps.stardoc
ruleClassgenrule
ruleOutput
  • //bzl/rules/helm:al_helm_deps.stardoc.md
visibility
  • //visibility:private
al_helm_deps.stardoc_raw
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_deps.stardoc_raw
ruleClassstardoc_markdown_renderer
ruleOutput
  • //bzl/rules/helm:al_helm_deps.stardoc_raw.md
visibility
  • //visibility:private
al_helm_deps.stardoc_raw.extract
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_deps.stardoc_raw.extract
ruleClassstarlark_doc_extract
ruleOutput
  • //bzl/rules/helm:al_helm_deps.stardoc_raw.extract.binaryproto
  • //bzl/rules/helm:al_helm_deps.stardoc_raw.extract.textproto
visibility
  • //visibility:private
al_helm_toolchain
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_toolchain
ruleClassbzl_library
visibility
  • //visibility:public
al_helm_toolchain.stardoc
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_toolchain.stardoc
ruleClassgenrule
ruleOutput
  • //bzl/rules/helm:al_helm_toolchain.stardoc.md
visibility
  • //visibility:private
al_helm_toolchain.stardoc_raw
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_toolchain.stardoc_raw
ruleClassstardoc_markdown_renderer
ruleOutput
  • //bzl/rules/helm:al_helm_toolchain.stardoc_raw.md
visibility
  • //visibility:private
al_helm_toolchain.stardoc_raw.extract
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:al_helm_toolchain.stardoc_raw.extract
ruleClassstarlark_doc_extract
ruleOutput
  • //bzl/rules/helm:al_helm_toolchain.stardoc_raw.extract.binaryproto
  • //bzl/rules/helm:al_helm_toolchain.stardoc_raw.extract.textproto
visibility
  • //visibility:private
changelog
locationbzl/rules/helm/BUILD.bazel:7:17
name//bzl/rules/helm:changelog
ruleClasspkg_filegroup
visibility
  • //visibility:public
changelog.changelog
locationbzl/rules/helm/BUILD.bazel:7:17
name//bzl/rules/helm:changelog.changelog
ruleClassal_template_files
ruleOutput
  • //bzl/rules/helm:changelog.doc.md
visibility
  • //visibility:private
changelog.changelog_data
locationbzl/rules/helm/BUILD.bazel:7:17
name//bzl/rules/helm:changelog.changelog_data
ruleClassal_git_run_binary
ruleOutput
  • //bzl/rules/helm:changelog.changelog_data.yaml
visibility
  • //visibility:private
changelog.changelog_files
locationbzl/rules/helm/BUILD.bazel:7:17
name//bzl/rules/helm:changelog.changelog_files
ruleClasspkg_files
visibility
  • //visibility:private
changelog.template
locationbzl/rules/helm/BUILD.bazel:7:17
name//bzl/rules/helm:changelog.template
ruleClass_write_file
ruleOutput
  • //bzl/rules/helm:changelog.template.md
visibility
  • //visibility:private
libs
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:libs
ruleClassbzl_library
visibility
  • //visibility:public
libs.stardoc
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:libs.stardoc
ruleClasspkg_filegroup
visibility
  • //visibility:public
libs.stardoc_src
locationbzl/rules/helm/BUILD.bazel:12:19
name//bzl/rules/helm:libs.stardoc_src
ruleClasspkg_files
visibility
  • //visibility:private
readme
locationbzl/rules/helm/BUILD.bazel:57:10
name//bzl/rules/helm:readme
ruleClassfilegroup
visibility
  • //visibility:public
readme.srcs
locationbzl/rules/helm/BUILD.bazel:57:10
name//bzl/rules/helm:readme.srcs
ruleClasspkg_files
visibility
  • //visibility:private
readme.with_children
locationbzl/rules/helm/BUILD.bazel:57:10
name//bzl/rules/helm:readme.with_children
ruleClasspkg_filegroup
visibility
  • //visibility:public
toolchain_remote_linux_amd64
locationbzl/rules/helm/BUILD.bazel:41:10
name//bzl/rules/helm:toolchain_remote_linux_amd64
ruleClasstoolchain
visibility
  • //visibility:public
toolchain_remote_linux_amd64_impl
locationbzl/rules/helm/BUILD.bazel:48:18
name//bzl/rules/helm:toolchain_remote_linux_amd64_impl
ruleClassal_helm_toolchain
visibility
  • //visibility:private
toolchain_type
locationbzl/rules/helm/BUILD.bazel:36:15
name//bzl/rules/helm:toolchain_type
ruleClasstoolchain_type
visibility
  • //visibility:public

7 - Changelog

  • Remove pkg_tar from helm and helm rules (ea1905)
  • Add dependency support to bzl/rules/helm, add the rancher chart (f0465f)