-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds
--operator-name
flag and preserves ProjectName
This patch adds a `--operator-name` flag to `operator-sdk olm-catalog gen-csv` command As per review comments `ProjectName variable is preserved in cmd/olmcatalog/gen-csv.go In addition, the `--operator-name` is used to initialize newly added `OperatorName` field in `internal/pkg/scaffold/input/input.go The change is also propagated in `internal/pkg/scaffold/scaffold.go` - `Scaffold` struct `internal/pkg/scaffold/olm-catalog/csv.go` and in `internal/pkg/scaffold/olm-catalog/csv_test.go` Signed-off-by: Nikhil Thomas <nikhilthomas1@gmail.com>
- Loading branch information
1 parent
c8ead55
commit f652c8a
Showing
5 changed files
with
59 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters