mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-29 22:19:06 +00:00
Add new CRD for etcd snapshots
Also adds a hack go script to print the embedded CRDs, for developer use. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
committed by
Brad Davidson
parent
64107b54e4
commit
500744bb94
13
hack/crdgen.go
Normal file
13
hack/crdgen.go
Normal file
@@ -0,0 +1,13 @@
|
||||
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())
|
||||
}
|
||||
Reference in New Issue
Block a user