Implement Helm linting#
Perform Helm linting using either the MSR web UI or the MSR API.
Helm linting with the web UI#
-
Open the MSR web UI.
-
Navigate to Repositories.
-
Click the name of the repository that contains the chart you want to lint.
-
Click the Charts tab.
-
Click the View Chart button associated with the required Helm chart.
-
Click the View Chart button for the required chart version.
-
Click the Linting Summary tab.
-
Click the Lint Chart button to generate a Helm chart linting report.
Helm linting with the API#
-
Run the Helm chart linter on a particular chart.
curl -k -H "Content-Type: application/json" --request POST "https://<msrhost>/charts/api/<namespace>/<reponame>/charts/<chartname>/<chartversion>/lint" -u <username>:<password> -
Generate a Helm chart linting report.
curl -k -X GET "https://<msrhost>/charts/api/<namespace>/<reponame>/charts/<chartname>/<chartversion>/lintsummary" -u <username>:<password>