Skip to content
Permalink
Browse files

Don't ship certmanager with CAPI

Signed-off-by: Vince Prignano <vincepri@vmware.com>
  • Loading branch information...
vincepri committed Oct 31, 2019
1 parent 3ec5e9c commit e0fb83a839b2755b14fbefbe6f93db9a58c76952
Showing with 0 additions and 6,415 deletions.
  1. +0 −9 Makefile
  2. +0 −6,361 config/certmanager/cert-manager.yaml
  3. +0 −45 hack/tools/certmanager/update.go
@@ -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)
@@ -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

@@ -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
## --------------------------------------
@@ -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

0 comments on commit e0fb83a

Please sign in to comment.
You can’t perform that action at this time.