compat

command
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL