Closed mergify[bot] closed 2 days ago
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)
Issues
0 New issues
0 Fixed issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
What does this PR do?
This PR extends the Helm lint checks in our CI pipeline to validate all examples in the Helm chart. Previously, the
helm template
command passed successfully but was insufficient becausehelm lint
could still fail. By ensuring comprehensive linting, we address inconsistencies and prevent errors during deployment.Key changes include:
Why is it important?
This change is important to ensure consistency across our Helm chart configurations. By extending the lint checks to include all examples, we can catch issues ( such as the ones seen in this Buildkite job) early in the CI pipeline, reducing the risk of deployment failures.
Checklist
./changelog/fragments
using the changelog toolDisruptive User Impact
This change does not introduce any disruptive impact on users. The enhancements are internal to the CI validation process and do not affect end-user experience directly.
How to test this PR locally
helm template ./deploy/helm/elastic-agent -f ./deploy/helm/elastic-agent/examples/kubernetes-default/agent-kubernetes-values.yaml
to ensure it passes.helm lint ./deploy/helm/elastic-agent -f ./deploy/helm/elastic-agent/examples/kubernetes-default/agent-kubernetes-values.yaml
and confirm that the lint checks also pass without errors.mage helm:renderExamples
does lint validation for all examples as wellRelated issues
This is an automatic backport of pull request #6060 done by Mergify.