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
278 stars 93 forks source link

kubectl hlf channelcrd follower update is not properly handling --channel-name option #128

Closed nclsclsn closed 1 year ago

nclsclsn commented 2 years ago

The command fails when I run it with the --channel-name option while it is meant to be part of the UpdateOptions in https://github.com/hyperledger-labs/hlf-operator/blob/e3a143b985f8c45cbf9e0d10c41c9ea409a57b29/kubectl-hlf/cmd/channelcrd/follower/update.go#L18 (Error: unknown flag: --channel-name)

Without this option, the channel follower is in FAILED state with message: must provide channel ID