Skip to content

Commit

Permalink
Make the sed line Mac compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Aug 15, 2024
1 parent 866253a commit 042e41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manageiq-operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ help: ## Display this help.
.PHONY: manifests
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) rbac:roleName=manageiq-operator crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases
sed "/creationTimestamp\|namespace/d" config/rbac/role.yaml > config/rbac/role.yaml.new && mv config/rbac/role.yaml{.new,}
sed -E "/creationTimestamp|namespace/d" config/rbac/role.yaml > config/rbac/role.yaml.new && mv config/rbac/role.yaml{.new,}

.PHONY: generate
generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
Expand Down

0 comments on commit 042e41e

Please sign in to comment.