A Kustomize plugin for the Pants build system
Project description
Kustomize backend for Pants
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pants-backend-kustomize-0.3.0.tar.gz
.
File metadata
- Download URL: pants-backend-kustomize-0.3.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239fd0eabf3483b8666d0a8358e7036ebb3729827622fddf704f09e0aae3eff7 |
|
MD5 | 1ed139187292f7a1148bfbd3e363c024 |
|
BLAKE2b-256 | 6f0291b861b3ebb1b44cd3bc9f35a1341f0c825d689d55bf18c20f011f88b457 |
Provenance
File details
Details for the file pants_backend_kustomize-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pants_backend_kustomize-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 611f132591bd7a4767eb38256be48b23b65af96524a0d13661d5bd9a61008859 |
|
MD5 | 44d84b3d3fd33088bb7bc9e29d69511c |
|
BLAKE2b-256 | f53631a6c7c1b6123a1db52f5ff9bf0007b900b785985d5fa5163bb4dd91aca9 |