
cookiecutter-kustomize-deployment
Scaffold a Helm + Kustomize Kubernetes deployment, environment overlays included.
A Cookiecutter template that scaffolds
a Kubernetes deployment combining a Helm upstream chart with Kustomize
base + per-environment overlays. A post-generation hook resolves the chart
version and renders its values.yaml automatically.
Features
- Helm + Kustomize - a vendored upstream Helm chart wrapped in a Kustomize
basewithdevelopment/productionoverlays. - Dynamic chart details - the post-gen hook pulls the latest chart version and values so the deployment starts up to date.
- Generated governance - the rendered project ships its own README, CONTRIBUTING, CODE_OF_CONDUCT and a license of your choice (MIT / GPL / Proprietary).
Requirements
- Python 3.12+
- Helm and
helm-docs on your
PATH- the post-generation hook calls them (with network access to the chart repo).
Usage
Generate a deployment straight from GitHub:
uvx cookiecutter gh:goabonga/cookiecutter-kustomize-deployment
# or: cookiecutter gh:goabonga/cookiecutter-kustomize-deployment
Or install the published template from PyPI and bake the bundled copy:
pip install cookiecutter-kustomize-deployment
cookiecutter "$(python -c 'import cookiecutter_kustomize_deployment as p; print(p.__path__[0])')"
You'll be prompted for the chart name, namespace, repository, alias,
author_name and license. The generated tree:
<name>/
├── base/kustomization.yaml
├── overlays/
│ ├── development/{kustomization,secret-generator}.yaml
│ └── production/{kustomization,secret-generator}.yaml
├── resources/kustomization.yaml
├── upstream/ # Helm chart (Chart.yaml, values.yaml, …)
├── upstream.sh
└── README.md / CONTRIBUTING.md / CODE_OF_CONDUCT.md / LICENSE
Deploy with Kustomize:
kubectl apply -k overlays/development
kubectl apply -k overlays/production
Development
git clone https://github.com/goabonga/cookiecutter-kustomize-deployment.git
cd cookiecutter-kustomize-deployment
uv sync
uv run pytest # bakes the template (needs Helm + helm-docs + network)
uvx cookiecutter . # generate a project from the working copy
See CONTRIBUTING.md for the workflow, the commit-message convention and the release process. By participating you agree to the Code of Conduct. Security issues: see SECURITY.md.
License
Distributed under the MIT License.
Metadata
Release files for cookiecutter-kustomize-deployment 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cookiecutter_kustomize_deployment-0.1.1.tar.gz | 14.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cookiecutter_kustomize_deployment-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.3 kB
Security for cookiecutter-kustomize-deployment 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for cookiecutter_kustomize_deployment-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.