Skip to content

Commit

Permalink
remove helmify bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
drivebyer committed Feb 4, 2024
1 parent 25e19fe commit f7532fd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,11 @@ help: ## Display this help.
##@ Development

.PHONY: manifests
manifests: controller-gen helmify ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) rbac:roleName=rocketmq-operator crd:generateEmbeddedObjectMeta=true webhook paths="./..." output:dir=deploy output:crd:artifacts:config=deploy/crds
head -n 14 deploy/role_binding.yaml > deploy/role.yaml.bak
cat deploy/role.yaml >> deploy/role.yaml.bak
rm deploy/role.yaml && mv deploy/role.yaml.bak deploy/role.yaml
awk 'FNR==1 && NR!=1 {print "---"}{print}' deploy/*.yaml | helmify $(OPERATOR_CAHRT_DIR)
mkdir -p $(OPERATOR_CAHRT_DIR)/crds/ && cp deploy/crds/* $(OPERATOR_CAHRT_DIR)/crds/

.PHONY: generate
Expand Down Expand Up @@ -174,10 +173,6 @@ KUSTOMIZE = $(shell pwd)/bin/kustomize
kustomize: ## Download kustomize locally if necessary.
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/[email protected])

HELMIFY = $(shell pwd)/bin/helmify
helmify:
$(call go-get-tool,$(HELMIFY),github.com/arttor/helmify/cmd/[email protected])

ENVTEST = $(shell pwd)/bin/setup-envtest
.PHONY: envtest
envtest: ## Download envtest-setup locally if necessary.
Expand Down

0 comments on commit f7532fd

Please sign in to comment.