Skip to content

Commit

Permalink
Don't ship certmanager with 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 31, 2019
1 parent 3ec5e9c commit e0fb83a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6,415 deletions.
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ RELEASE_NOTES := $(TOOLS_DIR)/$(RELEASE_NOTES_BIN)
CONTROLLER_GEN := $(TOOLS_BIN_DIR)/controller-gen
GOLANGCI_LINT := $(TOOLS_BIN_DIR)/golangci-lint
CONVERSION_GEN := $(TOOLS_BIN_DIR)/conversion-gen
CERTMANAGER_UPDATE := $(TOOLS_BIN_DIR)/certmanager-update

# Define Docker related variables. Releases should modify and double check these vars.
REGISTRY ?= gcr.io/$(shell gcloud config get-value project)
Expand Down Expand Up @@ -103,9 +102,6 @@ $(GOLANGCI_LINT): $(TOOLS_DIR)/go.mod # Build golangci-lint from tools folder.
$(CONVERSION_GEN): $(TOOLS_DIR)/go.mod
cd $(TOOLS_DIR); go build -tags=tools -o $(BIN_DIR)/conversion-gen k8s.io/code-generator/cmd/conversion-gen

$(CERTMANAGER_UPDATE): $(TOOLS_DIR)/go.mod
cd $(TOOLS_DIR); go build -tags=tools -o $(BIN_DIR)/certmanager-update ./certmanager

$(RELEASE_NOTES) : $(TOOLS_DIR)/go.mod
cd $(TOOLS_DIR) && go build -o $(RELEASE_NOTES_BIN) -tags tools ./release

Expand Down Expand Up @@ -162,10 +158,6 @@ modules: ## Runs go mod to ensure modules are up to date.
go mod tidy
cd $(TOOLS_DIR); go mod tidy

.PHONY: update-certmanager
update-certmanager: $(CERTMANAGER_UPDATE)
VERSION=$(CERTMANAGER_VERSION) $(CERTMANAGER_UPDATE) > config/certmanager/cert-manager.yaml

## --------------------------------------
## Docker
## --------------------------------------
Expand Down Expand Up @@ -244,7 +236,6 @@ release: clean-release ## Builds and push container images using the latest git
.PHONY: release-manifests
release-manifests: $(RELEASE_DIR) ## Builds the manifests to publish with a release
kustomize build config/default > $(RELEASE_DIR)/cluster-api-components.yaml
cat config/certmanager/cert-manager.yaml >> $(RELEASE_DIR)/cluster-api-components.yaml

release-binaries: ## Builds the binaries to publish with a release
RELEASE_BINARY=./cmd/clusterctl GOOS=linux GOARCH=amd64 $(MAKE) release-binary
Expand Down
Loading

0 comments on commit e0fb83a

Please sign in to comment.