Skip to content

Commit

Permalink
Remove invalid ClusterRoleBinding from CertManager
Browse files Browse the repository at this point in the history
Removes the cert-manager-leaderelection ClusterRoleBinding from
cert-manager v0.11.0 manifest
  • Loading branch information
Warren Fernandes committed Apr 17, 2020
1 parent 62b7a1d commit d8e31fc
Show file tree
Hide file tree
Showing 3 changed files with 6,348 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ generate-bindata: $(KUSTOMIZE) $(GOBINDATA) clean-bindata $(CLOUDINIT_GENERATED)
# Package manifest YAML into a single file.
mkdir -p $(GOBINDATA_CLUSTERCTL_DIR)/manifest/
$(KUSTOMIZE) build $(GOBINDATA_CLUSTERCTL_DIR)/crd > $(GOBINDATA_CLUSTERCTL_DIR)/manifest/clusterctl-api.yaml
# Fetch the cert-manager manifest
curl -sL https://github.com/jetstack/cert-manager/releases/download/v0.11.0/cert-manager.yaml > "$(GOBINDATA_CLUSTERCTL_DIR)/manifest/${CERTMANAGER_COMPONENTS_GENERATED_FILE}"
# Copy the "fixed" cert-manager v0.11.0 manifest
cp $(GOBINDATA_CLUSTERCTL_DIR)/cert-manager-v0.11.0.yaml "$(GOBINDATA_CLUSTERCTL_DIR)/manifest/${CERTMANAGER_COMPONENTS_GENERATED_FILE}"
# Generate go-bindata, add boilerplate, then cleanup.
$(GOBINDATA) -mode=420 -modtime=1 -pkg=config -o=$(GOBINDATA_CLUSTERCTL_DIR)/zz_generated.bindata.go $(GOBINDATA_CLUSTERCTL_DIR)/manifest/
cat ./hack/boilerplate/boilerplate.generatego.txt $(GOBINDATA_CLUSTERCTL_DIR)/zz_generated.bindata.go > $(GOBINDATA_CLUSTERCTL_DIR)/manifest/manifests.go
Expand Down
Loading

0 comments on commit d8e31fc

Please sign in to comment.