Skip to content

Commit

Permalink
Merge pull request #43 from inzamam-iqbal/support_multi_channel
Browse files Browse the repository at this point in the history
hlf--peer support multiple channels
  • Loading branch information
alexvicegrab authored Jul 3, 2019
2 parents 8708c4c + 208f677 commit 1b94804
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion hlf-peer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Hyperledger Fabric Peer chart (these charts are created by AID:Tech and are currently not directly associated with the Hyperledger project)
name: hlf-peer
version: 1.2.6
version: 1.2.7
appVersion: 1.3.0
keywords:
- blockchain
Expand Down
16 changes: 10 additions & 6 deletions hlf-peer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ spec:
secret:
secretName: {{ .Values.secrets.peer.tlsClientRootCert }}
{{- end }}
{{- if .Values.secrets.channel }}
- name: channel
{{- if .Values.secrets.channels }}
{{- range .Values.secrets.channels}}
- name: {{ . }}
secret:
secretName: {{ .Values.secrets.channel }}
secretName: {{ . }}
{{- end }}
{{- end }}
{{- if .Values.secrets.adminCert }}
- name: admin-cert
Expand Down Expand Up @@ -201,9 +203,11 @@ spec:
- mountPath: /var/hyperledger/tls/ord/cert
name: ord-tls-rootcert
{{- end }}
{{- if .Values.secrets.channel }}
- mountPath: /hl_config/channel
name: channel
{{- if .Values.secrets.channels }}
{{- range .Values.secrets.channels}}
- mountPath: /hl_config/channel/{{.}}
name: {{.}}
{{- end }}
{{- end }}
{{- if .Values.secrets.adminCert }}
- mountPath: /var/hyperledger/admin_msp/admincerts
Expand Down
4 changes: 3 additions & 1 deletion hlf-peer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ secrets:
# tlsClientRootCerts: hlf--ord-tlsrootcert
## This should contain "channel" transaction derived from a configtx.yaml
## configtxgen -profile ComposerChannel -channelID composerchannel -outputCreateChannelTx composerchannel.tx
# channel: hlf--channel
# channels:
# - foochannel
# - barchannel
## This should contain the Certificate of the Peer Organisation admin
## This is necessary to successfully run the peer
# adminCert: hlf--peer-admincert
Expand Down

0 comments on commit 1b94804

Please sign in to comment.