-
Notifications
You must be signed in to change notification settings - Fork 16.8k
hlf-peer: multi channel support #15321
hlf-peer: multi channel support #15321
Conversation
Signed-off-by: Inzamam <[email protected]>
Hi @inzamam-iqbal. Thanks for your PR. I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
- mountPath: /hl_config/channel | ||
name: channel | ||
{{- if .Values.secrets.channels }} | ||
{{- range .Values.secrets.channels}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@inzamam-iqbal Please add extra space here, for readability, and indent the range block.
{{- if .Values.secrets.channel }} | ||
- name: channel | ||
{{- if .Values.secrets.channels }} | ||
{{- range .Values.secrets.channels}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@inzamam-iqbal Please add extra space here, for readability, and indent the range block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i.e. {- range .Values.secrets.channels }}
@@ -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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@inzamam-iqbal, this update should be reflected in the README.md
stable/hlf-peer/README.md
Outdated
@@ -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.channel` | Array of secrets containing channel creation file | `` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be channels
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i.e. secrets.channels
Array of secrets containing channel creation file
was already correct.
name: channel | ||
{{- if .Values.secrets.channels }} | ||
{{- range .Values.secrets.channels }} | ||
- mountPath: /hl_config/channel/{{.}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here, I'd also keep same format, with {{ . }} as above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also line below
6ce5f7a
to
dff56d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/approve |
Signed-off-by: Inzamam <[email protected]>
dff56d4
to
3d62481
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexvicegrab, inzamam-iqbal The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* hlf-peer: multi channel support Signed-off-by: Inzamam <[email protected]> * hlf-peer: updated Readme.md Signed-off-by: Inzamam <[email protected]>
Signed-off-by: Inzamam [email protected]