Skip to main content

Kustomize backend for Pants

This release targets Pants 2.32.x. Install it with pants-backend-kustomize==0.8.0 in [GLOBAL].plugins in pants.toml.

PyPI

Warning This plugin is in development. No stability is guaranteed! Contributions welcome.

This backends implements targets for kustomize templates.

  • kustomize for overlaying state ontop of raw kubernetes files

Tool versions

The default is standalone Kustomize v5.8.3. Versions v5.7.1, v5.0.3, and v4.5.7 are also recorded for Linux/macOS on x86-64 and ARM64. Select one with --kustomize-tool-version=v4.5.7 or [kustomize-tool].version. Standalone Kustomize versions are independent of the Kustomize embedded in kubectl; older entries provide compatibility choices rather than a promise of ongoing upstream maintenance.

Planned and missing features

  • Key/secret/... generation from built artifacts

Targets

There's currently one target.

kustomize

A code-generation target for converting a bundle of kubernetes files into a single multi-docuent YAML file with state injected from other Pants targets.

kustomize(
    name="kustomize",
    sources=[
        "deployment.yaml",
        "server.py",
        "service.yaml",
        "namespace.yaml",
		"kustomization.yaml",
    ],
    dependencies=[":bin"],
)
Argument Meaning Default value
name The target name Same as any other target, which is the directory name
sources Resources used by this target Required
dependencies Targets to package and pass to the build context, as well as bases []
decsription A description of the target
tags List of tags []

For dependencies, the builder will replace labels in the kustomization.yaml with the path of the built package.

Metadata

Release files for pants-backend-kustomize 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pants-backend-kustomize 0.8.0
File Size Uploaded Provenance Actions
pants_backend_kustomize-0.8.0.tar.gz 9.3 kB Without provenance Details for pants_backend_kustomize-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pants-backend-kustomize 0.8.0
File Interpreter ABI Platform Actions
pants_backend_kustomize-0.8.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for pants_backend_kustomize-0.8.0-py2.py3-none-any.whl

Total release size: 20.7 kB

Release files / pants_backend_kustomize-0.8.0.tar.gz

Download URL pants_backend_kustomize-0.8.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4ee6bd1fba092df4d25f306049de19fe76302e1341019d7345bd3382c2f99533
BLAKE2b-256 checksum
How to use checksums
98ae249d5860ad4b3cc7630bcb1e8c1e7eb8d6a886a13de7d70d6d74dc666f73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Release files / pants_backend_kustomize-0.8.0-py2.py3-none-any.whl

Download URL pants_backend_kustomize-0.8.0-py2.py3-none-any.whl
Size 11.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
70373da8fae9b0933b98a74d28b4014b41a33eef5a6ee316874c9cd70d9a435b
BLAKE2b-256 checksum
How to use checksums
5bcc4509ba2189e5cc96f3253062cfc73b42f738ac526c410c6169cdc72038b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.2

Security for pants-backend-kustomize 0.8.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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