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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| pants_backend_kustomize-0.6.1.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|