CFP: unittest helm chart #27514
Labels
area/helm
Impacts helm charts and user deployment experience
kind/cfp
kind/feature
This introduces new functionality.
sig/agent
Cilium agent related.
stale
The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale.
Cilium Feature Proposal
Thanks for taking time to make a feature proposal for Cilium! If you have usage questions, please try the slack channel and see the FAQ first.
Is your proposed feature related to a problem?
Making a helm chart change in any of the templates files, can not be tested until actually run against a cluster.
For example this simple change that was done, was hard to debug, because I could only really see rendered templates when deploying it to a cluster. #27229
Describe the feature you'd like
I want to be able to test helm chart locally without needing to run it against a cluster, easily see all areas my change is impacting the chart, as well as being able to validate via a check that no changes in helm-chart without updating snapshots have been done.
Describe your proposed solution
I would like to use helm unittest, a common plugin used for testing helm charts in the open source community.
Example unittest for `spire/agent/daemonset.yaml
via
helm unittest --update -3 install/kubernetes/cilium/.
we could auto generate the snapshots and changes would be part of the PR, easy to reviewPRB check
If this is approved, would be happy to create an initial setup with default tests for every object
Once the CFP is close to being finalized, please add it as a PR to the design-cfps repo for final approval.
The text was updated successfully, but these errors were encountered: