OS Manuals

/opt/chainguard/kapitan/bin/reclass

Generic templated configuration management for Kubernetes, Terraform and other things, driven by a hierarchical reclass inventory and Jsonnet, Jinja2, Kadet, Helm and other input engines

From kapitan 0.36.3-r2 (enterprise-packages), captured 2026-11-08 by running reclass --help (exit 0). permalink

Usage: kapicorp-reclass [options] ( --inventory | --nodeinfo NODENAME )

Merge data by recursive descent down an ancestry hierarchy (forked extended version)

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit

  Database options:
    Configure from where kapicorp-reclass collects data

    -s STORAGE_TYPE, --storage-type=STORAGE_TYPE
                        the type of storage backend to use [yaml_fs]
    -b INVENTORY_BASE_URI, --inventory-base-uri=INVENTORY_BASE_URI
                        the base URI to prepend to nodes and classes [/etc/kapicorp-reclass]
    -u NODES_URI, --nodes-uri=NODES_URI
                        the URI to the nodes storage [nodes]
    -c CLASSES_URI, --classes-uri=CLASSES_URI
                        the URI to the classes storage [classes]
    -z IGNORE_CLASS_NOTFOUND, --ignore-class-notfound=IGNORE_CLASS_NOTFOUND
                        decision for not found classes [False]
    -a, --compose-node-name
                        Add subdir when generating node names. [False]
    -x IGNORE_CLASS_NOTFOUND_REGEXP, --ignore-class-notfound-regexp=IGNORE_CLASS_NOTFOUND_REGEXP
                        regexp for not found classes [['.*']]

  Output options:
    Configure the way kapicorp-reclass prints data

    -o OUTPUT, --output=OUTPUT
                        output format (yaml or json) [yaml]
    -y, --pretty-print  try to make the output prettier [True]
    -r, --no-refs       output all key values do not use yaml references [False]
    -1, --single-error  throw errors immediately instead of grouping them together
    -0, --multiple-errors
                        were possible report any errors encountered as a group

  Modes:
    Specify one of these to determine what to do.

    -i, --inventory     output the entire inventory
    -n NODENAME, --nodeinfo=NODENAME
                        output information for a specific node

Exactly one mode has to be specified.
Options (16)
OptionDescriptionSource
--versionshow program's version number and exithelp
-h, --helpshow this help message and exithelp
-s, --storage-type STORAGE_TYPEthe type of storage backend to use [yaml_fs]help
-b, --inventory-base-uri INVENTORY_BASE_URIthe base URI to prepend to nodes and classes [/etc/kapicorp-reclass]help
-u, --nodes-uri NODES_URIthe URI to the nodes storage [nodes]help
-c, --classes-uri CLASSES_URIthe URI to the classes storage [classes]help
-z, --ignore-class-notfound IGNORE_CLASS_NOTFOUNDdecision for not found classes [False]help
-a, --compose-node-nameAdd subdir when generating node names.help
-x, --ignore-class-notfound-regexp IGNORE_CLASS_NOTFOUND_REGEXPregexp for not found classes [['.*']]help
-o, --output OUTPUToutput format (yaml or json) [yaml]help
-y, --pretty-printtry to make the output prettier [True]help
-r, --no-refsoutput all key values do not use yaml references [False]help
-1, --single-errorthrow errors immediately instead of grouping them togetherhelp
-0, --multiple-errorswere possible report any errors encountered as a grouphelp
-i, --inventoryoutput the entire inventoryhelp
-n, --nodeinfo NODENAMEoutput information for a specific nodehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.