mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 23:45:10 +00:00
* seperate namespace for each organization Signed-off-by: Basil K Y <techiebasil@gmail.com> * rest server working Signed-off-by: Basil K Y <techiebasil@gmail.com> * use single namespace by default, fix k8s buider Signed-off-by: Basil K Y <techiebasil@gmail.com> * added ci test for testing k8s n/w on multiple namespaces Signed-off-by: Basil K Y <techiebasil@gmail.com> * fix: access rest server via gateway Signed-off-by: Basil K Y <techiebasil@gmail.com> Signed-off-by: Basil K Y <techiebasil@gmail.com>
49 lines
1.2 KiB
JSON
Executable file
49 lines
1.2 KiB
JSON
Executable file
{
|
|
"name": "${NS}-org${ORG}",
|
|
"version": "1.0.0",
|
|
"client": {
|
|
"organization": "Org${ORG}",
|
|
"connection": {
|
|
"timeout": {
|
|
"peer": {
|
|
"endorser": "300"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"organizations": {
|
|
"Org${ORG}": {
|
|
"mspid": "Org${ORG}MSP",
|
|
"peers": [
|
|
"org${ORG}-peers"
|
|
],
|
|
"certificateAuthorities": [
|
|
"org${ORG}-ca"
|
|
]
|
|
}
|
|
},
|
|
"peers": {
|
|
"org${ORG}-peers": {
|
|
"url": "grpcs://org${ORG}-peer1.${NS}.svc.cluster.local:7051",
|
|
"tlsCACerts": {
|
|
"pem": "${PEERPEM}"
|
|
},
|
|
"grpcOptions": {
|
|
"ssl-target-name-override": "org${ORG}-peer1.${NS}.svc.cluster.local",
|
|
"hostnameOverride": "org${ORG}-peer1.${NS}.svc.cluster.local"
|
|
}
|
|
}
|
|
},
|
|
"certificateAuthorities": {
|
|
"org${ORG}-ca": {
|
|
"url": "https://org${ORG}-ca:443",
|
|
"caName": "org${ORG}-ca",
|
|
"tlsCACerts": {
|
|
"pem": ["${CAPEM}"]
|
|
},
|
|
"httpOptions": {
|
|
"verify": false
|
|
}
|
|
}
|
|
}
|
|
}
|