From 3d624812df3f21e7e273d0102e9adf38e83ba999 Mon Sep 17 00:00:00 2001 From: Inzamam Date: Mon, 8 Jul 2019 22:26:03 +0530 Subject: [PATCH] hlf-peer: updated Readme.md Signed-off-by: Inzamam --- stable/hlf-peer/README.md | 2 +- stable/hlf-peer/templates/deployment.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) 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 8e0514e15ac0..9b183b55d5c6 100644 --- a/stable/hlf-peer/templates/deployment.yaml +++ b/stable/hlf-peer/templates/deployment.yaml @@ -71,11 +71,11 @@ spec: secretName: {{ .Values.secrets.peer.tlsClientRootCert }} {{- end }} {{- if .Values.secrets.channels }} - {{- range .Values.secrets.channels}} + {{- range .Values.secrets.channels }} - name: {{ . }} secret: secretName: {{ . }} - {{- end }} + {{- end }} {{- end }} {{- if .Values.secrets.adminCert }} - name: admin-cert @@ -204,10 +204,10 @@ spec: name: ord-tls-rootcert {{- end }} {{- if .Values.secrets.channels }} - {{- range .Values.secrets.channels}} - - mountPath: /hl_config/channel/{{.}} - name: {{.}} - {{- end }} + {{- range .Values.secrets.channels }} + - mountPath: /hl_config/channel/{{ . }} + name: {{ . }} + {{- end }} {{- end }} {{- if .Values.secrets.adminCert }} - mountPath: /var/hyperledger/admin_msp/admincerts