Skip to content

Use the plugin to create a Helm Chart for Tutorials and Validate with them with GitHub action in the CI #4453

Closed
@camilamacedo86

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

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/documentationCategorizes issue or PR as related to documentation.kind/featureCategorizes issue or PR as related to a new feature.testing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions