Skip to content

Commit

Permalink
Merge pull request #1151 from Fryguy/fix_mac_compat
Browse files Browse the repository at this point in the history
Make the sed line Mac compatible
  • Loading branch information
bdunne committed Aug 15, 2024
2 parents 866253a + 042e41e commit 794a248
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 794a248

Please sign in to comment.