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

Uploaded Source

Built Distribution

pants_backend_kustomize-0.1.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pants-backend-kustomize-0.1.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.12.0 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.5

File hashes

Hashes for pants-backend-kustomize-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bfcea7840ac881022544d06221e39a4acfd3b5d25e936f6bf08473e5bd2e0f30
MD5 3bbf198c6026ad1b22fca8e5571d6532
BLAKE2b-256 d03df1863d028f1eb8011dc23327288dc67c6b1d5baea44027b2bc72fa0f2e27

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pants_backend_kustomize-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.12.0 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.5

File hashes

Hashes for pants_backend_kustomize-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16e13a5086d79c958a6f54a601d9e0af3058aa867c4d0a56fc838fb8d6870864
MD5 948741486d9c45c00ff991297a8120af
BLAKE2b-256 4e2e430fb8da31cefdfa4b59c77a045d6c9de5eba1d6afc85311c74de4fd72eb

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