Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.idea
e2e
e2e-network
fablo-target
node_modules
Jenkinsfile
samples/chaincodes/chaincode-java-simple
samples/chaincodes/chaincode-kv-node/node_modules
samples/chaincodes/chaincode-kv-node/**/*.spec.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
fi

helm repo add kfs "https://kfsoftware.github.io/hlf-helm-charts" --force-update
helm install hlf-operator --version=1.8.0 kfs/hlf-operator
helm install hlf-operator --version=1.8.2 kfs/hlf-operator

- name: Build Fablo
run: |
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Fablo supports:
* REST API client for CA and chaincodes ([Fablo REST](https://github.com/softwaremill/fablo-rest))
* [Blockchain Explorer](https://github.com/hyperledger/blockchain-explorer) which can be enabled for each organization

## Experimental: Kubernetes operators support

## See it in action

[![How to use](https://img.youtube.com/vi/JqPNozCtHkQ/0.jpg)](https://www.youtube.com/watch?v=JqPNozCtHkQ)
Expand Down
1 change: 1 addition & 0 deletions e2e-network/k8s/test-01-simple-k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ trap networkDown EXIT
trap 'networkDown ; echo "Test failed" ; exit 1' ERR SIGINT

# start the network
#networkDown
networkUp

peer0="$(kubectl get pods | grep peer0 | tr -s ' ' | cut -d ':' -f 1 | cut -d ' ' -f 1 | head -n 1) peer"
Expand Down
5 changes: 2 additions & 3 deletions src/setup-k8s/templates/fabric-k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ networkUp() {
printHeadline "Checking dependencies..." "U1F984"
verifyKubernetesConnectivity
printHeadline "Starting Network..." "U1F984"
deployPeer
deployOrderer
deployNodes
installChannels
installChaincodes
printHeadline "Done! Enjoy your fresh network" "U1F984"
}

networkDown() {
printHeadline "Destroying network" "U1F913"
printHeadline "Destroying network" "U1F916"
destroyNetwork
}

Expand Down
1 change: 1 addition & 0 deletions src/setup-k8s/templates/fabric-k8s/.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ STORAGE_CLASS=$(kubectl describe sc | grep Name | tr -s ' ' | cut -d ':' -f 2 |
FABLO_VERSION=<%= fabloVersion %>
FABLO_BUILD=<%= fabloBuild %>
FABLO_CONFIG=<%= paths.fabloConfig %>

ORDERER_IMAGE=hyperledger/fabric-orderer
ORDERER_VERSION=<%= global.fabricVersion %>
PEER_IMAGE=quay.io/kfsoftware/fabric-peer
Expand Down
Loading