Skip to main content

Kustomize backend for Pants

This release targets Pants 2.30.0. Install it with pants-backend-kustomize==0.6.1 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

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.6.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 pants-backend-kustomize 0.6.1
File Size Uploaded
pants_backend_kustomize-0.6.1.tar.gz 8.2 kB Details

Built distribution (wheel)

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

Total release size: 18.7 kB

Release files / pants_backend_kustomize-0.6.1.tar.gz

Download URL pants_backend_kustomize-0.6.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
de715fc9254e21b2f72aea0f0b52d2f606cde3e3736fa90fb6b105183d772709
BLAKE2b-256 checksum
How to use checksums
6154d0afbab8f8bd53895e314f6984f9d56cff6b9028445d8c161e046af9df42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

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

Download URL pants_backend_kustomize-0.6.1-py2.py3-none-any.whl
Size 10.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ad7d3d5a00507f8c1e194a3ef947f2d47050fe6d49618d0c965732b522dbbeee
BLAKE2b-256 checksum
How to use checksums
c64f35bd00ca47650b12c83d88d5a8c491ac0945c407271905e80b4db9346070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6.0

1 release file

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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