Skip to content

Commit

Permalink
[HLF-Peer] Update Peer address to allow correct functioning on Miniku…
Browse files Browse the repository at this point in the history
…be (helm#11743)

Signed-off-by: Alejandro Vicente Grabovetsky <[email protected]>
  • Loading branch information
alexvicegrab authored and k8s-ci-robot committed Feb 26, 2019
1 parent e35c068 commit 06530e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/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.4
version: 1.2.6
appVersion: 1.3.0
keywords:
- blockchain
Expand Down
3 changes: 2 additions & 1 deletion stable/hlf-peer/templates/configmap--peer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ metadata:
{{ include "labels.standard" . | indent 4 }}
data:
CORE_PEER_ADDRESSAUTODETECT: "true"
CORE_PEER_ID: {{ .Release.Name }}
CORE_PEER_NETWORKID: nid1
# If we have an ingress, we set hostname to it
{{- if .Values.ingress.enabled }}
CORE_PEER_ADDRESS: {{ index .Values.ingress.hosts 0 }}:443
{{- else }}
CORE_PEER_ADDRESS: {{ include "hlf-peer.fullname" . }}:7051
# Otherwise we use CORE_PEER_ADDRESSAUTODETECT to auto-detect its address
{{- end }}
CORE_PEER_LISTENADDRESS: 0.0.0.0:7051
CORE_PEER_EVENTS_ADDRESS: 0.0.0.0:7053
Expand Down

0 comments on commit 06530e5

Please sign in to comment.