Skip to content

A tool that integrates Helm chart linting with KCL, enabling advanced validation and customization for Kubernetes Helm charts

License

Notifications You must be signed in to change notification settings

jaimeph/helm-lint-kcl

Repository files navigation

License Current Release GitHub Repo stars GitHub issues GitHub pull requests codecov Artifact Hub

Helm Lint KCL Plugin

A Helm plugin that uses KCL schemas to validate values. Instead of using JSON Schema in values.schema.json, you can write schemas KCL validation in schemas.k.

Installation

helm plugin install https://github.com/jaimeph/helm-lint-kcl

Usage

Validation

Validate your chart values using the validate command:

helm lint-kcl [NAME] [CHART] [flags]

Flags:

Flags:
      --debug            enable debug
  -h, --help             help for helm
      --set strings      set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
      --show-values      show values
  -f, --values strings   specify values in a YAML file or a URL (can specify multiple)
  -v, --version string   chart version

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

About

A tool that integrates Helm chart linting with KCL, enabling advanced validation and customization for Kubernetes Helm charts

Resources

License

Stars

Watchers

Forks

Packages

No packages published