Getting started
There are two types of resources to manage a channel:
- FabricMainChannel
- FabricFollowerChannel
#
FabricMainChannelThis resource creates and manages the channel configuration, including:
- Configuration
- Peer organizations
- Orderer organizations
#
FabricFollowerChannelThis resource joins the channel and manages the channel configuration, including:
- Anchor peers
- Peers to join
#
WalletFor every resource we need a wallet to interact with the network.
The FabricMainChannel requires a wallet with the admin identity of the orderer organization and the peer organizations that will manage the channel.
The FabricFollowerChannel requires a wallet with the admin identity of the peer organization.
#
Enroll the orderer admin organization#
Enroll the admin peer organization#
Create secretWe need to create a secret for the operator to use the certificates to create the channel and update the channel configuration.
#
Create the channelFirst, we need to obtain the orderer TLS certificate, this would need to be performed for each orderer that is in the consenters list.
Second, we create the main channel CRD and apply it.
#
Join the channel for Org1MSPFirst, we need to obtain the orderer TLS certificate, this would need to be performed for each orderer that is in the consenters list.
Second, we create the main channel CRD and apply it.