Skip to content

Commit

Permalink
✨ Ship CABPK as part of CAPI
Browse files Browse the repository at this point in the history
Signed-off-by: Vince Prignano <vincepri@vmware.com>
  • Loading branch information
vincepri committed Oct 15, 2019
1 parent fa78e46 commit e50e824
Show file tree
Hide file tree
Showing 144 changed files with 36 additions and 12,713 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ generate: $(CONTROLLER_GEN) ## Generate code
generate-go: $(CONTROLLER_GEN) $(CONVERSION_GEN) ## Runs Go related generate targets
$(CONTROLLER_GEN) \
object:headerFile=./hack/boilerplate/boilerplate.generatego.txt \
paths=./api/...
paths=./api/... \
paths=./bootstrap/kubeadm/api/...
$(CONVERSION_GEN) \
--input-dirs=./api/v1alpha2 \
--output-file-base=zz_generated.conversion \
Expand All @@ -134,7 +135,9 @@ generate-go: $(CONTROLLER_GEN) $(CONVERSION_GEN) ## Runs Go related generate tar
generate-manifests: $(CONTROLLER_GEN) ## Generate manifests e.g. CRD, RBAC etc.
$(CONTROLLER_GEN) \
paths=./api/... \
paths=./bootstrap/kubeadm/api/... \
paths=./controllers/... \
paths=./bootstrap/kubeadm/controllers/... \
crd \
rbac:roleName=manager-role \
output:crd:dir=./config/crd/bases
Expand Down Expand Up @@ -286,19 +289,18 @@ clean-release: ## Remove the release folder
verify:
./hack/verify-boilerplate.sh
./hack/verify-doctoc.sh
./hack/verify-generated-files.sh
$(MAKE) verify-modules
$(MAKE) verify-gen

.PHONY: verify-modules
verify-modules: modules
@if !(git diff --quiet HEAD -- go.sum go.mod hack/tools/go.mod hack/tools/go.sum); then \
@if !(git diff HEAD -- go.sum go.mod hack/tools/go.mod hack/tools/go.sum); then \
echo "go module files are out of date"; exit 1; \
fi

.PHONY: verify-gen
verify-gen: generate
@if !(git diff --quiet HEAD); then \
@if !(git diff HEAD); then \
echo "generated files are out of date, run make generate"; exit 1; \
fi

Expand Down
26 changes: 0 additions & 26 deletions bootstrap/kubeadm/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions bootstrap/kubeadm/.golangci.yml

This file was deleted.

45 changes: 0 additions & 45 deletions bootstrap/kubeadm/Dockerfile

This file was deleted.

46 changes: 0 additions & 46 deletions bootstrap/kubeadm/Dockerfile.dev

This file was deleted.

201 changes: 0 additions & 201 deletions bootstrap/kubeadm/LICENSE

This file was deleted.

Loading

0 comments on commit e50e824

Please sign in to comment.