Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: David VIEJO <[email protected]>
  • Loading branch information
dviejokfs committed Jan 22, 2024
1 parent b190a10 commit c4210a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/chaincode/chaincode_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,9 @@ func (r *FabricChaincodeReconciler) Reconcile(ctx context.Context, req ctrl.Requ
FailureThreshold: 3,
},
}
if fabricChaincode.Spec.Resources != nil {
container.Resources = *fabricChaincode.Spec.Resources
}
if fabricChaincode.Spec.Command != nil {
container.Command = fabricChaincode.Spec.Command
}
Expand Down
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,10 @@ func main() {
flag.Parse()
log.Infof("Auto renew peer certificates enabled: %t", autoRenewCertificatesPeerEnabled)
log.Infof("Auto renew orderer certificates enabled: %t", autoRenewCertificatesOrdererEnabled)
log.Infof("Auto renew identity certificates enabled: %t", autoRenewCertificatesIdentityEnabled)
log.Infof("Auto renew peer certificates delta: %s", autoRenewPeerCertificatesDelta)
log.Infof("Auto renew orderer certificates delta: %s", autoRenewOrdererCertificatesDelta)
log.Infof("Auto renew identity certificates delta: %s", autoRenewIdentityCertificatesDelta)
// Pass a Config struct
// to initialize a Client struct
// which implements Client interface
Expand Down

0 comments on commit c4210a9

Please sign in to comment.