Substra / hlf-k8s

Initializes an Hyperledger Fabric network (orchestrator distributed mode)
https://docs.substra.org
Apache License 2.0
31 stars 20 forks source link

Generate genesis in hlf-ord chart #12

Closed AurelienGasser closed 4 years ago

AurelienGasser commented 4 years ago

Companion PR: https://github.com/AurelienGasser/charts/pull/1


To test it locally:

Bootstrap

  1. clone/package my fork
git clone https://github.com/AurelienGasser/charts.git
git checkout hlf-ord-generate-genesis
cd charts/stable/hlf-ord
helm package .
  1. update your requirements.{yaml,lock}
cd hlf-k8s/charts/hlf-k8s
vim requirements.yaml  # update the file:/// reference to point to your local clone
helm dep update        # re-generate requirements.lock

Test

After you do any change to the hlf-ord charts:

  1. re-package the chart
cd charts/stable/hlf-ord
helm package .
  1. re-run skaffold dev
cd hlf-k8s
skaffold dev
Kelvin-M commented 4 years ago

Do we still want to have this init container for genesis block ?

ClementGautier commented 4 years ago

=> https://github.com/SubstraFoundation/hlf-k8s/pull/27