Created
March 14, 2019 17:55
-
-
Save jortel/e7a7c13a5bd9ad9ccfeaa82463f13e3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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