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:
Brad Davidson
2023-09-08 16:35:14 +00:00
committed by Brad Davidson
parent 64107b54e4
commit 500744bb94
14 changed files with 795 additions and 9 deletions

View File

@@ -74,6 +74,7 @@ func main() {
"k3s.cattle.io": {
Types: []interface{}{
v1.Addon{},
v1.ETCDSnapshotFile{},
},
GenerateTypes: true,
GenerateClients: true,