This is hypercloud operator
namespaceclaim roleBindingclaim resourceQuotaClaim namespace
0. You have a working Go environment
$ git clone https://github.com/tmax-cloud/hypercloud-operator-go
$ cd hypercloud-operator-go
$ export GO111MODULE=on
$ make
1. Install kubebuilder (version: 2.3.1)
$ release=2.3.1
$ os=$(go env GOOS)
$ arch=$(go env GOARCH)
$ curl -sL https://go.kubebuilder.io/dl/2.3.1/${os}/${arch} | tar -xz -C /tmp/
$ mv /tmp/kubebuilder_2.3.1_${os}_${arch} /usr/local/kubebuilder
$ export PATH=$PATH:/usr/local/kubebuilder/bin
2. Install operator-sdk (version: v1.0.0)
$ release=v1.0.0
$ os=$(go env GOOS)
$ arch=$(arch)
$ curl -OJL https://github.com/operator-framework/operator-sdk/releases/download/${release}/operator-sdk-${release}-${arch}-${os}-gnu
$ chmod +x operator-sdk-${release}-${arch}-${os}-gnu
$ mv operator-sdk-${release}-${arch}-${os}-gnu /usr/local/bin/operator-sdk