Skip to content

Conversation

dviejokfs
Copy link
Contributor

Update Fabric components to version 3.1.0 and implement lease-based certificate renewal

  • Bumped the PEER and ORDERER versions to 3.1.0 in the README.
  • Added a new boolean field certRenewalLeaseHeld to the FabricOrdererNodeStatus for tracking lease status.
  • Implemented lease acquisition and release logic in the ordnode_controller for managing certificate renewal, enhancing the reliability of the renewal process.
  • Introduced a new utility for handling Kubernetes leases to facilitate distributed locking during certificate updates.

These changes improve the management of certificate renewals and ensure smoother operations for Fabric orderer nodes.

…ertificate renewal

- Bumped the PEER and ORDERER versions to 3.1.0 in the README.
- Added a new boolean field `certRenewalLeaseHeld` to the FabricOrdererNodeStatus for tracking lease status.
- Implemented lease acquisition and release logic in the ordnode_controller for managing certificate renewal, enhancing the reliability of the renewal process.
- Introduced a new utility for handling Kubernetes leases to facilitate distributed locking during certificate updates.

These changes improve the management of certificate renewals and ensure smoother operations for Fabric orderer nodes.

Signed-off-by: David VIEJO <[email protected]>
- Removed redundant deployment restart logic from the `updateCerts` method in both `ordnode_controller` and `peer_controller`.
- Implemented lease-based locking for certificate renewal in the `peer_controller`, enhancing the reliability of the renewal process.
- Added a new field `CertRenewalLeaseHeld` to the `FabricPeerStatus` struct to track the lease status during certificate updates.

These changes streamline the certificate renewal process and improve the overall management of Fabric components.

Signed-off-by: David VIEJO <[email protected]>
@dviejokfs dviejokfs merged commit 3729e59 into main Jul 22, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant