k3s/hack/crdgen.go

14 lines
235 B
Go

package main
import (
"os"
k3scrd "github.com/k3s-io/k3s/pkg/crd"
_ "github.com/k3s-io/k3s/pkg/generated/controllers/k3s.cattle.io/v1"
"github.com/rancher/wrangler/pkg/crd"
)
func main() {
crd.Print(os.Stdout, k3scrd.List())
}