Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 588 Bytes

DEVELOPMENT.md

File metadata and controls

25 lines (14 loc) · 588 Bytes

Development guide

Setup your own K8s controller repo

Clone the repo https://github.com/kubernetes/sample-controller with your own Controller App name.

Create your own Git repo, make it your own Origin.

Open the go.mod file, change the module name to your module name (github.com/chrisduong/cnat-client-go)

Download your dependencies

go mod vendor

Rename

Rename the folder the pkg/apis/samplecontroller to pkg/apis/yourown

Rename module path to github.com/chrisduong/cnat-client-go

Verify

Run hack/verify-codegen.sh to verify code changes.