Function Catalog

ℹ Info: Please see the versioning document, which details the SemVer tagging strategy being used for the released KRM Functions.
FunctionLatest VersionDescriptionTags
apply-replacementsv0.1.5Invoke the kustomize replacements feature as a KRM function.mutator
apply-settersv0.2.4Update the field values parameterized by setters.mutator
create-settersv0.1.3Parameterize the field values by adding setter comments.mutator
ensure-name-substringv0.2.3Ensures that a resource name contains the given substring.mutator, name prefix, name suffix
gatekeeperv0.2.4Validate the KRM resources using Gatekeeper policies.validator
kubeconformv0.1.3Use kubeconform to validate KRM resources against their json schemas.validator
kubevalDeprecated. See kubeconform as a direct replacementvalidator
list-settersv0.1.3List setters on resource fields.viewer
remove-local-config-resourcesv0.1.3Removes locally annotated resourcesmutator
render-helm-chartv0.3.3Renders a local or remote helm chart.mutator
search-replacev0.2.3Search and optionally replace field values.mutator
set-annotationsv0.1.7Add a list of annotations to all resources.mutator
set-enforcement-actionv0.1.3Sets the enforcement action for policy constraints to deny or dryrunmutator
set-imagev0.2.2Set all images of a given name to a given name:tag or name@digest.mutator
set-labelsv0.2.4Add a list of labels to all resources.mutator
set-namespacev0.4.5Update KRM resources namespace.mutator
starlarkv0.5.5Run a Starlark script to mutate or validate resources.mutator, validator
upsert-resourcev0.2.3Insert a resource, or if the resource already exists, update the existing resource.mutator