hyperledger-bevel / bevel-operator-fabric

Hyperledger Fabric Kubernetes operator - Hyperledger Fabric operator for Kubernetes (v2.3, v2.4 and v2.5, soon 3.0)
https://hyperledger-bevel.github.io/bevel-operator-fabric/
Apache License 2.0
280 stars 93 forks source link

Cannot create channel using hlf channel generate command #222

Open OptimusPrimo11 opened 4 months ago

OptimusPrimo11 commented 4 months ago

What happened?

I try to create a channel with the hlf channel generate --outpu flag but it seems that an error of : unknown flag: --output appear. Then by switching the order of the flags to --name first, still it shows error : unknown flag: --name.

Next, I run the kubectl hlf channel --help Output : Usage: hlf channel [command]

Available Commands: inspect
top
update

Flags: -h, --help help for channel

So, not "generate" exist.

What am I missing here? Please help.

What did you expect to happen?

A channel file with the filename specified in the --output flag which contains the 2 OrgMSP & 1 OrdererMSP in the channel name given in the --name flag.

How can we reproduce it (as minimally and precisely as possible)?

kubectl hlf channel generate --output=testchannel.block --name=testchannel --organizations Org1MSP --organizations Org2MSP --ordererOrganizations OrdererMSP

Anything else we need to know?

No response

Kubernetes version

```console # kubectl get nodes -o wide ```