Skip to content

Commit 000eb6e

Browse files
Merge pull request #19 from npci/release/v1.1.0
Release/v1.1.0
2 parents 0e7f14b + 394fe2a commit 000eb6e

File tree

108 files changed

+3981
-2962
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+3981
-2962
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ Whether you're a blockchain enthusiast, developer, or enterprise seeking to harn
3434
- [ ] Key Management using HSM / Vault
3535

3636
### Releases
37-
- [v1.0.2](https://github.com/npci/falcon/releases/latest)
37+
- [v1.1.0](https://github.com/npci/falcon/releases/latest)
38+
- [v1.0.2](https://github.com/npci/falcon/releases/tag/v1.0.2)
3839
- [v1.0.1](https://github.com/npci/falcon/releases/tag/v1.0.1)
3940
- [v1.0.0](https://github.com/npci/falcon/releases/tag/v1.0.0)
4041

41-
4242
### Samples
4343
Please refer our [examples](examples/README.md) for running a complete blockchain network using the deployment helper.
4444

examples/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ helm install tls-ca -n orderer helm-charts/fabric-ca -f examples/fabric-ca/tls-c
8787
You can verify it with the similar way we verified the root-ca end-point above.
8888

8989
4. **Create ROOTCA identities**
90-
* Note:- Every identity registration job must be executed in the same namespace where the respective CA's are running. And the admin credentials secret name must be supplied to the values file at `Values.ca.admin_secret`
90+
* Note:- Every identity registration job must be executed in the same namespace where the respective CA's are running. And the admin credentials secret name must be supplied to the values file at `Values.ca_secret`
9191
```
9292
helm install rootca-ops -n orderer helm-charts/fabric-ops/ -f examples/fabric-ops/rootca/rootca-identities.yaml
9393
```
@@ -159,16 +159,16 @@ You need to create a kubernetes secret with the one registered with rootca ident
159159
```
160160
helm install ica-org1 -n org1 helm-charts/fabric-ca -f examples/fabric-ca/ica-org1.yaml
161161
```
162-
2. **Add Org1 to the network**
162+
2. **Create Org1 identities with ica-org1**
163+
```
164+
helm install org1-ca-ops -n org1 helm-charts/fabric-ops/ -f examples/fabric-ops/org1/identities.yaml
165+
```
166+
3. **Add Org1 to the network**
163167

164168
Once the `Org1` ICA started successfully, you would need to add this `Org1` to the network. For that, you need to run the following Job in `initialpeerorg`. Comment out the `org2` section from the `Values.organizatons` array in the values file [examples/fabric-ops/initialpeerorg/configure-org-channel.yaml](./fabric-ops/initialpeerorg/configure-org-channel.yaml) for now since we have not deployed the `Org2` yet.
165169
```
166170
helm install configorgchannel -n initialpeerorg helm-charts/fabric-ops/ -f examples/fabric-ops/initialpeerorg/configure-org-channel.yaml
167171
```
168-
3. **Create Org1 identities with ica-org1**
169-
```
170-
helm install org1-ca-ops -n org1 helm-charts/fabric-ops/ -f examples/fabric-ops/org1/identities.yaml
171-
```
172172
4. **Deploy Peers on Org1**
173173
```
174174
helm install peer -n org1 helm-charts/fabric-peer/ -f examples/fabric-peer/org1/values.yaml
@@ -190,16 +190,16 @@ You need to create a kubernetes secret with the one registered with rootca ident
190190
```
191191
helm install ica-org2 -n org2 helm-charts/fabric-ca -f examples/fabric-ca/ica-org2.yaml
192192
```
193-
2. **Add Org2 to network**
193+
2. **Create Org2 identities with ica-org2.**
194+
```
195+
helm install org2-ca-ops -n org2 helm-charts/fabric-ops/ -f examples/fabric-ops/org2/identities.yaml
196+
```
197+
3. **Add Org2 to network**
194198

195199
Once the `Org2` ICA started successfully, you would need to add this `Org2` to the network. For that, you need to upgrade the following `configorgchannel` Job in `initialpeerorg`. This time, uncomment the `org2` section in the `Values.organizatons` array in the values file [examples/fabric-ops/initialpeerorg/configure-org-channel.yaml](./fabric-ops/initialpeerorg/configure-org-channel.yaml).
196200
```
197201
helm upgrade configorgchannel -n initialpeerorg helm-charts/fabric-ops/ -f examples/fabric-ops/initialpeerorg/configure-org-channel.yaml
198202
```
199-
3. **Create Org2 identities with ica-org2.**
200-
```
201-
helm install org2-ca-ops -n org2 helm-charts/fabric-ops/ -f examples/fabric-ops/org2/identities.yaml
202-
```
203203
4. **Deploy Peers on Org2**
204204
```
205205
helm install peer -n org2 helm-charts/fabric-peer/ -f examples/fabric-peer/org2/values.yaml

examples/fabric-ca/ica-initialpeerorg.yaml

Lines changed: 12 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,19 @@ replicaCount: 1
1111

1212
image:
1313
repository: hyperledger/fabric-ca
14-
pullPolicy: Always
15-
# Overrides the image tag whose default is the chart appVersion.
14+
pullPolicy: IfNotPresent
15+
### Overrides the image tag whose default is the chart appVersion.
1616
tag: "1.5.0"
1717

1818
init:
1919
image:
2020
repository: npcioss/hlf-builder
21-
pullPolicy: Always
21+
pullPolicy: IfNotPresent
2222
tag: "2.4"
2323

24-
retry_seconds: 60
25-
26-
# tls_domain : This will be used to create an Ingress, and CSR for the CA server.
27-
# Eg: my-hlf-domain.com, then the Ingress object will be created as a combination of ".fabric-ca.fullname + .Values.tls_domain"
28-
# ie, root-ca.my-hlf-domain.com
24+
## tls_domain : This will be used to create an Ingress, and CSR for the CA server.
25+
## Eg: my-hlf-domain.com, then the Ingress object will be created as a combination of ".fabric-ca.fullname + .Values.tls_domain"
26+
## ie, root-ca.my-hlf-domain.com
2927
tls_domain: my-hlf-domain.com
3028
ca_server:
3129
csr_names_country: IN
@@ -36,10 +34,13 @@ ca_server:
3634
container_port: 7051
3735
debug: true
3836
tls_enabled: true
39-
# You must create this secret outside of this chart for maximum security. Don't commit CA user/pass into any charts.
40-
# kubectl -n orderer create secret generic your-secret --from-literal=user=your-admin-user --from-literal=password=your-admin-password
37+
## You must create this secret outside of this chart for maximum security. Don't commit CA user/pass into any charts.
38+
## kubectl -n orderer create secret generic your-secret --from-literal=user=your-admin-user --from-literal=password=your-admin-password
4139
admin_secret: initialpeerorg-secret
4240

41+
retry_seconds: 60
42+
recreate_intermediate_cert: false # Make it true if you want to delete existing parent server public key cert and fetch new one on the next restart.
43+
4344
ica:
4445
enabled: true
4546
parent_ca_endpoint: "root-ca.my-hlf-domain.com:30000" # your-root-ca-endpoint:<port>
@@ -55,10 +56,6 @@ ingress:
5556
className: "nginx"
5657
annotations:
5758
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
58-
hosts:
59-
- paths:
60-
- path: /
61-
pathType: Prefix
6259

6360
storage:
6461
pvc_enabled: true
@@ -70,52 +67,4 @@ storage:
7067
serviceAccount:
7168
create: true
7269
annotations: {}
73-
name: ""
74-
75-
resources:
76-
limits:
77-
cpu: 100m
78-
memory: 256Mi
79-
requests:
80-
cpu: 100m
81-
memory: 128Mi
82-
83-
# affinity:
84-
# nodeAffinity:
85-
# preferredDuringSchedulingIgnoredDuringExecution:
86-
# - weight: 50
87-
# preference:
88-
# matchExpressions:
89-
# - key: project
90-
# operator: In
91-
# values:
92-
# - value1
93-
94-
startupProbe:
95-
httpGet:
96-
path: /cainfo
97-
port: http
98-
scheme: HTTPS
99-
initialDelaySeconds: 10
100-
livenessProbe:
101-
httpGet:
102-
path: /cainfo
103-
port: http
104-
scheme: HTTPS
105-
readinessProbe:
106-
httpGet:
107-
path: /cainfo
108-
port: http
109-
scheme: HTTPS
110-
111-
podAnnotations: {}
112-
podSecurityContext: {}
113-
securityContext: {}
114-
nodeSelector: {}
115-
tolerations: []
116-
autoscaling:
117-
enabled: false
118-
minReplicas: 1
119-
maxReplicas: 100
120-
targetCPUUtilizationPercentage: 80
121-
# targetMemoryUtilizationPercentage: 80
70+
name: ""

examples/fabric-ca/ica-orderer.yaml

Lines changed: 10 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ replicaCount: 1
1111

1212
image:
1313
repository: hyperledger/fabric-ca
14-
pullPolicy: Always
15-
# Overrides the image tag whose default is the chart appVersion.
14+
pullPolicy: IfNotPresent
15+
### Overrides the image tag whose default is the chart appVersion.
1616
tag: "1.5.0"
1717

1818
init:
1919
image:
2020
repository: npcioss/hlf-builder
21-
pullPolicy: Always
21+
pullPolicy: IfNotPresent
2222
tag: "2.4"
2323

24-
# tls_domain : This will be used to create an Ingress, and CSR for the CA server.
25-
# Eg: my-hlf-domain.com, then the Ingress object will be created as a combination of ".fabric-ca.fullname + .Values.tls_domain"
26-
# ie, root-ca.my-hlf-domain.com
24+
## tls_domain : This will be used to create an Ingress, and CSR for the CA server.
25+
## Eg: my-hlf-domain.com, then the Ingress object will be created as a combination of ".fabric-ca.fullname + .Values.tls_domain"
26+
## ie, root-ca.my-hlf-domain.com
2727
tls_domain: my-hlf-domain.com
2828
ca_server:
2929
csr_names_country: IN
@@ -34,11 +34,12 @@ ca_server:
3434
container_port: 7051
3535
debug: true
3636
tls_enabled: true
37-
# You must create this secret outside of this chart for maximum security. Don't commit CA user/pass into any charts.
38-
# kubectl -n orderer create secret generic your-secret --from-literal=user=your-admin-user --from-literal=password=your-admin-password
37+
## You must create this secret outside of this chart for maximum security. Don't commit CA user/pass into any charts.
38+
## kubectl -n orderer create secret generic your-secret --from-literal=user=your-admin-user --from-literal=password=your-admin-password
3939
admin_secret: orderer-secret
4040

4141
retry_seconds: 60
42+
recreate_intermediate_cert: false # Make it true if you want to delete existing parent server public key cert and fetch new one.
4243

4344
ica:
4445
enabled: true
@@ -55,10 +56,6 @@ ingress:
5556
className: "nginx"
5657
annotations:
5758
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
58-
hosts:
59-
- paths:
60-
- path: /
61-
pathType: Prefix
6259

6360
storage:
6461
pvc_enabled: true
@@ -70,52 +67,4 @@ storage:
7067
serviceAccount:
7168
create: true
7269
annotations: {}
73-
name: ""
74-
75-
resources:
76-
limits:
77-
cpu: 100m
78-
memory: 256Mi
79-
requests:
80-
cpu: 100m
81-
memory: 128Mi
82-
83-
# affinity:
84-
# nodeAffinity:
85-
# preferredDuringSchedulingIgnoredDuringExecution:
86-
# - weight: 50
87-
# preference:
88-
# matchExpressions:
89-
# - key: project
90-
# operator: In
91-
# values:
92-
# - value1
93-
94-
startupProbe:
95-
httpGet:
96-
path: /cainfo
97-
port: http
98-
scheme: HTTPS
99-
initialDelaySeconds: 10
100-
livenessProbe:
101-
httpGet:
102-
path: /cainfo
103-
port: http
104-
scheme: HTTPS
105-
readinessProbe:
106-
httpGet:
107-
path: /cainfo
108-
port: http
109-
scheme: HTTPS
110-
111-
podAnnotations: {}
112-
podSecurityContext: {}
113-
securityContext: {}
114-
nodeSelector: {}
115-
tolerations: []
116-
autoscaling:
117-
enabled: false
118-
minReplicas: 1
119-
maxReplicas: 100
120-
targetCPUUtilizationPercentage: 80
121-
# targetMemoryUtilizationPercentage: 80
70+
name: ""

examples/fabric-ca/ica-org1.yaml

Lines changed: 10 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ replicaCount: 1
1111

1212
image:
1313
repository: hyperledger/fabric-ca
14-
pullPolicy: Always
15-
# Overrides the image tag whose default is the chart appVersion.
14+
pullPolicy: IfNotPresent
15+
### Overrides the image tag whose default is the chart appVersion.
1616
tag: "1.5.0"
1717

1818
init:
1919
image:
2020
repository: npcioss/hlf-builder
21-
pullPolicy: Always
21+
pullPolicy: IfNotPresent
2222
tag: "2.4"
2323

24-
# tls_domain : This will be used to create an Ingress, and CSR for the CA server.
25-
# Eg: my-hlf-domain.com, then the Ingress object will be created as a combination of ".fabric-ca.fullname + .Values.tls_domain"
26-
# ie, root-ca.my-hlf-domain.com
24+
## tls_domain : This will be used to create an Ingress, and CSR for the CA server.
25+
## Eg: my-hlf-domain.com, then the Ingress object will be created as a combination of ".fabric-ca.fullname + .Values.tls_domain"
26+
## ie, root-ca.my-hlf-domain.com
2727
tls_domain: my-hlf-domain.com
2828
ca_server:
2929
csr_names_country: IN
@@ -34,8 +34,8 @@ ca_server:
3434
container_port: 7051
3535
debug: true
3636
tls_enabled: true
37-
# You must create this secret outside of this chart for maximum security. Don't commit CA user/pass into any charts.
38-
# kubectl -n orderer create secret generic your-secret --from-literal=user=your-admin-user --from-literal=password=your-admin-password
37+
## You must create this secret outside of this chart for maximum security. Don't commit CA user/pass into any charts.
38+
## kubectl -n orderer create secret generic your-secret --from-literal=user=your-admin-user --from-literal=password=your-admin-password
3939
admin_secret: org1-secret
4040

4141
ica:
@@ -45,6 +45,7 @@ ica:
4545
intermediate_tls_cert_file: cert.pem
4646

4747
retry_seconds: 60
48+
recreate_intermediate_cert: false # Make it true if you want to delete existing parent server public key cert and fetch new one.
4849

4950
service:
5051
type: ClusterIP
@@ -55,10 +56,6 @@ ingress:
5556
className: "nginx"
5657
annotations:
5758
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
58-
hosts:
59-
- paths:
60-
- path: /
61-
pathType: Prefix
6259

6360
storage:
6461
pvc_enabled: true
@@ -70,52 +67,4 @@ storage:
7067
serviceAccount:
7168
create: true
7269
annotations: {}
73-
name: ""
74-
75-
resources:
76-
limits:
77-
cpu: 100m
78-
memory: 256Mi
79-
requests:
80-
cpu: 100m
81-
memory: 128Mi
82-
83-
# affinity:
84-
# nodeAffinity:
85-
# preferredDuringSchedulingIgnoredDuringExecution:
86-
# - weight: 50
87-
# preference:
88-
# matchExpressions:
89-
# - key: project
90-
# operator: In
91-
# values:
92-
# - value1
93-
94-
startupProbe:
95-
httpGet:
96-
path: /cainfo
97-
port: http
98-
scheme: HTTPS
99-
initialDelaySeconds: 10
100-
livenessProbe:
101-
httpGet:
102-
path: /cainfo
103-
port: http
104-
scheme: HTTPS
105-
readinessProbe:
106-
httpGet:
107-
path: /cainfo
108-
port: http
109-
scheme: HTTPS
110-
111-
podAnnotations: {}
112-
podSecurityContext: {}
113-
securityContext: {}
114-
nodeSelector: {}
115-
tolerations: []
116-
autoscaling:
117-
enabled: false
118-
minReplicas: 1
119-
maxReplicas: 100
120-
targetCPUUtilizationPercentage: 80
121-
# targetMemoryUtilizationPercentage: 80
70+
name: ""

0 commit comments

Comments
 (0)