Commit 6c11b37d authored by Edmund Ochieng's avatar Edmund Ochieng

add workaround for manifests target in makefile

parent 562da546
......@@ -112,6 +112,7 @@ bundle: manifests
operator-sdk generate kustomize manifests -q
cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG)
$(KUSTOMIZE) build config/manifests | operator-sdk generate bundle -q --overwrite --version $(VERSION) $(BUNDLE_METADATA_OPTS)
find bundle/manifests/ -type f | xargs -n 1 sed -i '/namespace: .*/d'
operator-sdk bundle validate ./bundle
# Build the bundle image.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment