Module rules

Module rules 

Source
Expand description

Rule system for helmlint.

Provides the infrastructure for defining and running Helm chart linting rules.

§Rule Categories

  • HL1xxx: Chart structure rules (Chart.yaml, file structure)
  • HL2xxx: Values validation rules (values.yaml)
  • HL3xxx: Template syntax rules (Go templates)
  • HL4xxx: Security rules (container security)
  • HL5xxx: Best practice rules (K8s best practices)

Modules§

hl1xxx
HL1xxx - Chart Structure Rules
hl2xxx
HL2xxx - Values Validation Rules
hl3xxx
HL3xxx - Template Syntax Rules
hl4xxx
HL4xxx - Security Rules
hl5xxx
HL5xxx - Best Practice Rules

Structs§

LintContext
Context for running lint rules.

Traits§

Rule
A lint rule that can check Helm charts.

Functions§

all_rules
Get all available rules.
get_rule
Get a rule by code.
list_rule_codes
List all rule codes.