Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 708 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 708 Bytes

onecloud-operator

Introduction

See: ./docs/intro.md

Development

Compile

$ git clone https://github.com/yunionio/onecloud-operator $GOPATH/src/yunion.io/x/onecloud-operator
$ cd $GOPATH/src/yunion.io/x/onecloud-operator
$ make

Install code-generator

$ git clone https://github.com/kubernetes/code-generator $GOPATH/src/k8s.io/x/code-generator
$ cd $GOPATH/src/k8s.io/x/code-generator
$ git checkout kubernetes-1.15.1
$ go install go install ./cmd/{defaulter-gen,client-gen,lister-gen,informer-gen,deepcopy-gen}

Try ./hack/codegen.sh

$ ./hack/codegen.sh

telegraf-init

VERSION=release-1.5 make telegraf-init-image