Use the plugin to create a Helm Chart for Tutorials and Validate with them with GitHub action in the CI #4453
Closed
Description
What do you want to happen?
Currently, we are just generating the helm chart for the sample: https://github.com/kubernetes-sigs/kubebuilder/tree/master/testdata/project-v4-with-plugins
The goal of this one is to generate the helm chart for the tutorial samples under:
- docs/book/src/cronjob-tutorial/testdata/project
- docs/book/src/getting-started/testdata/project
- docs/book/src/multiversion-tutorial/testdata/project
Therefore:
- We need a new GitHub Action named test-helm-book such as the existing CI workflow for Helm sample testing as a guide: test-helm-samples.yml.
- We need to modify the hack logic to call the chart as well. Reference the existing structure and commands in hack.
- The existing target in the Makefile to allow generating only the Helm charts see Makefile Helm Target need also be updated so that when we run
make generate-charts we will do for both sample under testdata and docs
Extra Labels
No response