~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/socialweb-computer-console

console.socialweb.computer: kcp, kubectl and ssh compiled to wasm in a browser tab with a terminal; a kcp fork

0
0
main
20 lines · 515 B Raw History

compat

This tool can be used to check compatibility between two CRD definitions, and generate the Least-Common-Denominator (LCD) CRD YAML if requested.

Usage

Check compatibility of two files

go run ./cmd/compat old-crd.yaml new-crd.yaml

If the --lcd flag is passed, compat will print the LCD CRD YAML to stdout.

Check compatibility between a CRD in a cluster and configuration in a local file

go run ./cmd/compat <(kubectl get crd foos.foo.example.dev -oyaml) foo-crd.yaml