pants-backend-kustomize


Namepants-backend-kustomize JSON
Version 0.4.0 PyPI version JSON
download
home_pageNone
SummaryA Kustomize plugin for the Pants build system
upload_time2024-09-19 12:07:30
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords pantsbuild pants backend kustomize kubernetes
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Kustomize backend for Pants

![PyPI](https://img.shields.io/pypi/v/pants-backend-kustomize?label=Latest%20release)

> **Warning**
> This plugin is in development. No stability is guaranteed! Contributions welcome.

This backends implements targets for kustomize templates.

* [kustomize](https://github.com/kubernetes-sigs/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.


``` python
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.


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pants-backend-kustomize",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "pantsbuild, pants, backend, kustomize, kubernetes",
    "author": null,
    "author_email": "Tom Solberg <me@sbg.dev>",
    "download_url": "https://files.pythonhosted.org/packages/c7/1f/dafc20c37250babd37ab1f287a2c6188ecc8a23566293cb216de633f2622/pants-backend-kustomize-0.4.0.tar.gz",
    "platform": null,
    "description": "# Kustomize backend for Pants\n\n![PyPI](https://img.shields.io/pypi/v/pants-backend-kustomize?label=Latest%20release)\n\n> **Warning**\n> This plugin is in development. No stability is guaranteed! Contributions welcome.\n\nThis backends implements targets for kustomize templates.\n\n* [kustomize](https://github.com/kubernetes-sigs/kustomize) for overlaying state ontop of raw kubernetes files\n\n## Planned and missing features\n\n* Key/secret/... generation from built artifacts\n\n## Targets\n\nThere's currently one target.\n\n\n### `kustomize`\n\nA code-generation target for converting a bundle of kubernetes files into a single multi-docuent YAML file with state\ninjected from other Pants targets.\n\n\n``` python\nkustomize(\n    name=\"kustomize\",\n    sources=[\n        \"deployment.yaml\",\n        \"server.py\",\n        \"service.yaml\",\n        \"namespace.yaml\",\n\t\t\"kustomization.yaml\",\n    ],\n    dependencies=[\":bin\"],\n)\n```\n\n| Argument | Meaning | Default value |\n| --- | --- | --- |\n| `name` | The target name | Same as any other target, which is the directory name |\n| `sources` | Resources used by this target | **Required** |\n| `dependencies` | Targets to package and pass to the build context, as well as bases | `[]` |\n| `decsription` | A description of the target | ` ` |\n| `tags` | List of tags | `[]` |\n\nFor dependencies, the builder will replace labels in the kustomization.yaml with the path of the built package.\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Kustomize plugin for the Pants build system",
    "version": "0.4.0",
    "project_urls": {
        "Changelog": "https://github.com/tgolsson/pants-backends/tree/main/pants-plugins/kustomize/CHANGELOG.md",
        "Code": "https://github.com/tgolsson/pants-backends/tree/main/pants-plugins/kustomize",
        "Repository": "https://github.com/tgolsson/pants-backends"
    },
    "split_keywords": [
        "pantsbuild",
        " pants",
        " backend",
        " kustomize",
        " kubernetes"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "510da9653f8664eaa010b8a80c80178db38cd73820ba8b7ea1d596cb33c6c06f",
                "md5": "04030d4e333131f668a40485901d6372",
                "sha256": "04ff11305aeee072904643f18d97852738fe858cad02395c5356096c2ebf8690"
            },
            "downloads": -1,
            "filename": "pants_backend_kustomize-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "04030d4e333131f668a40485901d6372",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 9486,
            "upload_time": "2024-09-19T12:07:28",
            "upload_time_iso_8601": "2024-09-19T12:07:28.449499Z",
            "url": "https://files.pythonhosted.org/packages/51/0d/a9653f8664eaa010b8a80c80178db38cd73820ba8b7ea1d596cb33c6c06f/pants_backend_kustomize-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c71fdafc20c37250babd37ab1f287a2c6188ecc8a23566293cb216de633f2622",
                "md5": "b2a129ac2f2e598c943fe29a34f8472c",
                "sha256": "21a8c860d8c55d3ff4bc4cce02f35762d19e6aad6b01ddf37e2abaa5c40fafea"
            },
            "downloads": -1,
            "filename": "pants-backend-kustomize-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b2a129ac2f2e598c943fe29a34f8472c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7311,
            "upload_time": "2024-09-19T12:07:30",
            "upload_time_iso_8601": "2024-09-19T12:07:30.182976Z",
            "url": "https://files.pythonhosted.org/packages/c7/1f/dafc20c37250babd37ab1f287a2c6188ecc8a23566293cb216de633f2622/pants-backend-kustomize-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-19 12:07:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tgolsson",
    "github_project": "pants-backends",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pants-backend-kustomize"
}
        
Elapsed time: 1.65657s