Skip to content

The command operator-sdk bundle create --generate-only=true should check if is in the root of the project when no dir arg is informed #2876

@camilamacedo86

Description

@camilamacedo86

Bug Report

What did you do?
Run operator-sdk bundle create --generate-only=true outside of the root of the project

What did you expect to see?
The default error saying that it should be executed from the root of the project

What did you see instead? Under which circumstances?

$ operator-sdk bundle create  --generate-only=true
FATA[0000] error generating bundle image files: stat /Users/camilamacedo/go/src/github.com/operator-framework/operator-sdk-samples/go/memcached-operator/deploy/deploy/olm-catalog/deploy/manifests: no such file or directory 

Environment

  • operator-sdk version: 0.17
  • go version: 1.13

Possible Solution

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.olm-integrationIssue relates to the OLM integration

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions