Kubed KRM
A python Implementation of KRM function by Kustomize and Google.
Random
Generate a random string or number and stamp it into target resource fields.
Configure keepers and the value is deterministically derived from the
keeper field values — same inputs, same output — like Terraform's
random_string.
Useful for getting a Job name that only changes when upstream values
actually change (a workaround for Kustomize hashing ConfigMap names after
all transformers have run).
apiVersion: krm.kubed.io
kind: Random
metadata:
name: random-string
annotations:
config.kubernetes.io/function: |
exec:
path: kubectl-kubed
spec:
type: string
keepers:
# explicit fieldPaths on the keeper
- kind: Deployment
fieldPaths:
- /spec/template/spec/containers/0/image
# inverted control: matched resources declare their own keeper paths via
# `random.krm.kubed.io/keepers.fieldpaths`. Random falls back to the
# annotation when the keeper has no explicit fieldPaths.
- kind: ExternalSecret
matchLabels:
app: drupal
# no fieldPaths and no annotation -> whole resource (annotations stripped)
- kind: ConfigMap
name: site-.*
targets:
- kind: Job
fieldPath: /metadata/name
options:
delimiter: '-'
index: 2
See examples/random and
docs/transformers/random.md.
Grafana
Panels, dashboards and folders as kustomize resources (grafana.krm.kubed.io), deployed
through grafana-operator. Panels and dashboards are plain v2 data; one GrafanaLibrary
transformer selects which become library panels and dashboards, in its folder. Embed
pulls files in and Target pulls resources from the list. See examples/grafana and
docs/generators/grafana.md.
Metadata
Release files for kubed-krm 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kubed_krm-0.0.9.tar.gz | 117.2 kB | With provenance | Details for kubed_krm-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kubed_krm-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for kubed_krm-0.0.9-py3-none-any.whl |
Total release size: 227.7 kB
Release files / kubed_krm-0.0.9.tar.gz
| Download URL | kubed_krm-0.0.9.tar.gz |
|---|---|
| Size | 117.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4c9a1eeb4b3e8a62302e0ef4eab92c0b6b58820e4bb3883fc882245371eff1b
|
|
BLAKE2b-256 checksum How to use checksums |
36d2496a67b977dc171c812ff2356b80e9cb6b3b9cbf7b3da091794dec233606
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / kubed_krm-0.0.9-py3-none-any.whl
| Download URL | kubed_krm-0.0.9-py3-none-any.whl |
|---|---|
| Size | 110.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aeb60a27971faa07647e3eaba54d9ba7ab87f8e95edddd46cf4a08f809da75f4
|
|
BLAKE2b-256 checksum How to use checksums |
fd942bce6142f057d52a6034de110752ba2a6dd6225f0fa1c44cbd38c03c589a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for kubed-krm 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for kubed_krm-0.0.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.