Skip to content

tapojit047/CRD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRD (Custom Resource Definitions)

  • Generated Code using k8s.io/code-generator

Steps of generating code:

  • Created types.go defining the struct for CRD
  • Create 'register.go' to register the custom resource
  • Don't forget to implicitly add code-generator. For that add this line in the import section of main.go
  • Then run ./hack/update-codegen.sh.
  • Oh! To solve the issue run this chmod u+x vendor/k8s.io/code-generator/generate-groups.sh and then run update-codegen.sh

About

Code Generation for CustomResources

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published