Skip to content

Commit 5385c7a

Browse files
committed
modifications for ccaas
Signed-off-by: munapower <mmunaro@hotmail.com>
1 parent fd1a453 commit 5385c7a

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

samples/deployment/k8s/core.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,9 +562,12 @@ chaincode:
562562
# - GOPROXY
563563
externalBuilders:
564564
# FPC Addition 0: external builder for fpc-c chaincode
565-
- path: /builders/external
566-
name: fpc-c
567-
propagateEnvironment:
565+
# - path: /builders/external
566+
# name: fpc-c
567+
- name: ccaas_builder
568+
path: /opt/hyperledger/ccaas_builder/ccaas/bin
569+
propagateEnvironment:
570+
- CHAINCODE_AS_A_SERVICE_BUILDER_CONFIG
568571
- CORE_PEER_ID
569572
- FPC_HOSTING_MODE
570573
- FABRIC_LOGGING_SPEC

samples/deployment/k8s/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ do
5454
done
5555

5656
echo "Package ercc and fpccc"
57-
CC_TYPE="external"
57+
CC_TYPE="ccaas"
5858
ERCC_ID="ercc"
5959
ERCC_VER="1.0"
6060
FPCCC_ID="fpccc"

samples/deployment/k8s/org1/org1-peer0-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ spec:
5757
value: 0.0.0.0:9443
5858
- name: CORE_METRICS_PROVIDER
5959
value: prometheus
60+
- name: CHAINCODE_AS_A_SERVICE_BUILDER_CONFIG
61+
value: "{\"peername\":\"peer0org1\"}"
6062
image: hyperledger/fabric-peer:2.5.9
6163
name: peer0
6264
ports:

0 commit comments

Comments
 (0)