Skip to main content

cookiecutter-kustomize-deployment
cookiecutter-kustomize-deployment

Scaffold a Helm + Kustomize Kubernetes deployment, environment overlays included.

CI License: MIT Python uv

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 base with development / production overlays.
  • 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)

Source distribution for cookiecutter-kustomize-deployment 0.1.1
File Size Uploaded Provenance
cookiecutter_kustomize_deployment-0.1.1.tar.gz 14.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cookiecutter-kustomize-deployment 0.1.1
File Interpreter ABI Platform
cookiecutter_kustomize_deployment-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 34.3 kB

Release files / cookiecutter_kustomize_deployment-0.1.1.tar.gz

Download URL cookiecutter_kustomize_deployment-0.1.1.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5be52391299ed67ff4ccb7a1e3c3cbdb61d00a9a693e0c41834fc27db5085a1c
BLAKE2b-256 checksum
How to use checksums
3f44543a6bf21b247aef7ad60e9db62fcf1b00f15ea39fa0452c8f17ec3d8ec4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

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 log

Release files / cookiecutter_kustomize_deployment-0.1.1-py3-none-any.whl

Download URL cookiecutter_kustomize_deployment-0.1.1-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b57dd3f609668cda13d4b37ae35a41f80cb497ffc3f24b638c0aac7a56bf703f
BLAKE2b-256 checksum
How to use checksums
87cee3b558ee2d8859ee08706f68204a6a0e7256d67cc980997f16f6116b719e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

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 log

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.

Select from 2 files

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 log

A 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page