Skip to content

[helm] Extend Lint Checks to Include All Examples for Full Validation #6052

@pkoutsovasilis

Description

@pkoutsovasilis

The current helm lint check in our CI pipeline is insufficient. While helm template may pass, helm lint can still fail due to additional validation that helm template does not perform. We should extend the Helm lint checks to validate all the examples in the Helm chart to ensure consistency and prevent errors during deployment.

Example helm/helm#7756 (comment)

  • Steps to Reproduce:
    1. Run helm template ./deploy/helm/elastic-agent -f ./deploy/helm/elastic-agent/examples/kubernetes-default/agent-kubernetes-values.yaml and observe that it passes.
    2. Run helm lint ./deploy/helm/elastic-agent -f ./deploy/helm/elastic-agent/examples/kubernetes-default/agent-kubernetes-values.yaml on the same chart and notice that it fails, demonstrating inconsistencies.

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions