Skip to main content

A Kustomize plugin for the Pants build system

Project description

Kustomize backend for Pants

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.

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

pants-backend-kustomize-0.2.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

pants_backend_kustomize-0.2.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file pants-backend-kustomize-0.2.0.tar.gz.

File metadata

File hashes

Hashes for pants-backend-kustomize-0.2.0.tar.gz
Algorithm Hash digest
SHA256 db250d9cede96aafe0e5a8977cce3bee88bb821344637caf0e7d585373e40596
MD5 b835a09a161d693856e26968c445b8b3
BLAKE2b-256 ac1b13e30fb16441eff2813eef1b5f9f87e5fae4c78a8ec5e981daaf088c2c95

See more details on using hashes here.

Provenance

File details

Details for the file pants_backend_kustomize-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pants_backend_kustomize-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 609c77aed8686d0510e5da397a5998541c279ca5246f5474e3adf83cfe463fd9
MD5 3f3f3719970016e363f96d84f4a477ff
BLAKE2b-256 3eecc89dadaf5877d2f54b1c1790cd4555a26e101c3d61212bd335c787bff51f

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page