Kustomize backend for Pants
This release targets Pants 2.30.0. Install it with
pants-backend-kustomize==0.6.0 in [GLOBAL].plugins in pants.toml.
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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pants_backend_kustomize-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pants_backend_kustomize-0.6.0-py3-none-any.whl
| Download URL | pants_backend_kustomize-0.6.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c1e7a506e2c8f4e5764f6e143827c9bdb8d96eaff60025734ee6bd20d9c6a5f
|
|
BLAKE2b-256 checksum How to use checksums |
68bb5d201f62fb241df779578580974d071a0f6de9c1204b850839b90fefd57f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|