diff --git a/stable/hlf-peer/Chart.yaml b/stable/hlf-peer/Chart.yaml index 79ffa8b50c95..12f3d5532932 100644 --- a/stable/hlf-peer/Chart.yaml +++ b/stable/hlf-peer/Chart.yaml @@ -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 diff --git a/stable/hlf-peer/README.md b/stable/hlf-peer/README.md index 0d6250b1844e..e268a69f7a3d 100644 --- a/stable/hlf-peer/README.md +++ b/stable/hlf-peer/README.md @@ -107,7 +107,7 @@ The following table lists the configurable parameters of the Hyperledger Fabric | `secrets.peer.tlsRootCert` | TLS root CA certificate: as 'cert.pem' | `` | | `secrets.peer.tlsClient` | TLS client secret: as 'tls.crt' and 'tls.key' | `` | | `secrets.peer.tlsClientRootCerts` | TLS Client root CA certificate files (any name) | `` | -| `secrets.channel` | Secret containing Channel tx for peer to create/join | `` | +| `secrets.channels` | Array of secrets containing channel creation file | `` | | `secrets.adminCert` | Secret containing Peer Org admin certificate | `` | | `secrets.adminCert` | Secret containing Peer Org admin private key | `` | | `secrets.ordTlsRootCert` | Secret containing Orderer TLS root CA certificate | `` | diff --git a/stable/hlf-peer/templates/deployment.yaml b/stable/hlf-peer/templates/deployment.yaml index a68a504a556d..9b183b55d5c6 100644 --- a/stable/hlf-peer/templates/deployment.yaml +++ b/stable/hlf-peer/templates/deployment.yaml @@ -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 @@ -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 diff --git a/stable/hlf-peer/values.yaml b/stable/hlf-peer/values.yaml index 8b27a9cdbef1..ad53b71323a8 100644 --- a/stable/hlf-peer/values.yaml +++ b/stable/hlf-peer/values.yaml @@ -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