Feedback

Chat Icon

Helm in Practice

Designing, Deploying, and Operating Kubernetes Applications at Scale

Creating, Developing, and Testing a Helm Chart
55%

Linting the Chart

Linting is a pre-flight check that many developers skip, but it's an important step to ensure that the chart is well-structured and follows best practices. Helm provides a built-in linter that can be used with the following syntax:

helm lint [CHART_PATH]

We can run the linter against our todo-chart chart:

helm lint $HOME/todo-chart

The output should indicate that the chart is valid:

==> Linting /root/todo-chart
[INFO] Chart.yaml: icon is recommended

1 chart(s) linted, 0 chart(s) failed

The message [INFO] Chart.yaml: icon is recommended is just a recommendation to add an icon to the chart metadata, but it's not a requirement. If you want to add an icon, you can do so by adding the following line to the Chart.yaml

Helm in Practice

Designing, Deploying, and Operating Kubernetes Applications at Scale

Enroll now to unlock current content and receive all future updates for free. Your purchase supports the author and fuels the creation of more exciting content. Act fast, as the price will rise as the course nears completion!

Unlock now  $15.99$11.99

Hurry! This limited time offer ends in:

To redeem this offer, copy the coupon code below and apply it at checkout:

Learn More