Skip to content

Instantly share code, notes, and snippets.

@jortel
Created March 14, 2019 17:55
Show Gist options
  • Save jortel/e7a7c13a5bd9ad9ccfeaa82463f13e3f to your computer and use it in GitHub Desktop.
Save jortel/e7a7c13a5bd9ad9ccfeaa82463f13e3f to your computer and use it in GitHub Desktop.
[jortel@f28a migration]$ kubebuilder init --domain openshit.io --license apache2 --owner redhat
Run `dep ensure` to fetch dependencies (Recommended) [y/n]?
y
dep ensure
Running make...
make
go generate ./pkg/... ./cmd/...
go fmt ./pkg/... ./cmd/...
go vet ./pkg/... ./cmd/...
go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go all
CRD manifests generated under '/home/jortel/go/src/migration/config/crds'
RBAC manifests generated under '/home/jortel/go/src/migration/config/rbac'
go test ./pkg/... ./cmd/... -coverprofile cover.out
? migration/pkg/apis [no test files]
? migration/pkg/controller [no test files]
? migration/pkg/webhook [no test files]
? migration/cmd/manager [no test files]
go build -o bin/manager migration/cmd/manager
Next: Define a resource with:
$ kubebuilder create api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment