Provides a CRD to make Job and CronJob easier to use through templating.
Warning
This repository does not actively accept external contributions.
- Kubernetes v1.32.2+ cluster
helm install [RELEASE_NAME] oci://ghcr.io/pixiv/k8s-job-wrapper/charts/k8s-job-wrapperTo show the configurable values for the chart:
helm show values oci://ghcr.io/pixiv/k8s-job-wrapper/charts/k8s-job-wrapper- direnv
- go version v1.27.3+
- docker version 28.3.2+
The repository layout conforms to the Kubebuilder.
Run make help to list all available development tasks.
To deploy controller to your local development environment, run make deploy-local.
See the hack for development tools and scripts. Development tool versions are managed in .env and go tool.
To reinstall the development tools, run make clean.
Afterwards, they will be automatically reinstalled the next time you invoke them.
For more details, please see tools.sh.
See the docs for documentation for the CRD.
To generate the documentation, run make docs.
See the chart for Helm chart for the CRD.
To create the Helm chart for your local development environment, run make chart-local.
Edit following files:
- Run Create Update Version PR
- Confirm the PR and merge it
- Confirm that CI on the main branch is green. Then
git switch main
git pull
make releaseWhen make release, the following actions will be executed:
- Build and push the controller image to ghcr.
- Generate and push the Helm chart to ghcr.
- Create a release.
- Deploy the documentation for CRD to GitHub Pages.