Skip to content

Kyverno json jp

kyverno-json jp

Provides a command-line interface to JMESPath, enhanced with custom functions.

Synopsis

Provides a command-line interface to JMESPath, enhanced with custom functions.

kyverno-json jp [flags]

Examples

  # List functions
  kyverno-json jp function

  # Evaluate query
  kyverno-json jp query -i object.yaml 'request.object.metadata.name | truncate(@, `9`)'

  # Parse expression
  kyverno-json jp parse 'request.object.metadata.name | truncate(@, `9`)'

Options

  -h, --help   help for jp

SEE ALSO