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.5.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pants_backend_kustomize-0.5.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pants-backend-kustomize-0.5.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for pants-backend-kustomize-0.5.0.tar.gz
Algorithm Hash digest
SHA256 787ac017744c3b9b54c91ea84aa0d8f41afbce378e81ec7c255ea23b2be576e0
MD5 cf427cf339df2b71b76d88916e834322
BLAKE2b-256 5b4b246a515b7d7649ea15cd70b1a8779d4bd05a7c2208666ac1b0128b0e3913

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pants_backend_kustomize-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9adb0341b1fd01fe6cd36f44fa08055260d78defbe6e2e6abe9b46c73fd0b64
MD5 0d5c4082f5086f863d411cdf2f4f5960
BLAKE2b-256 1c72e339d6ad5813ecc22ae567e26adc177292877463937bfd6b964c14c9d4bf

See more details on using hashes here.

Supported by

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