diff --git a/hlf-peer/Chart.yaml b/hlf-peer/Chart.yaml index 79ffa8b..12f3d55 100644 --- a/hlf-peer/Chart.yaml +++ b/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/hlf-peer/templates/deployment.yaml b/hlf-peer/templates/deployment.yaml index a68a504..4a9f03f 100644 --- a/hlf-peer/templates/deployment.yaml +++ b/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/hlf-peer/values.yaml b/hlf-peer/values.yaml index 8b27a9c..21c7518 100644 --- a/hlf-peer/values.yaml +++ b/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