Skip to content

Commit

Permalink
[CE-534] Fixed connection profile spaces issue
Browse files Browse the repository at this point in the history
when ansible agent create connection profiles, it has
incorrect spaces for tls tag which causes clients not
be able to find the certs. This patch fixes the issue.

Change-Id: I7db5e11b2dcaf413dbc9ddbf384a6db7640c77dd
Signed-off-by: Tong Li <litong01@us.ibm.com>
  • Loading branch information
Tong Li committed Jan 3, 2019
1 parent da1b56f commit a499492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator-dashboard/agent/ansible/roles/deploy_k8s/pubconn/templates/connyaml.j2
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ orderers:
url: "{{ tls|ternary('grpcs','grpc') }}://{{ allips|random }}:{{ k8sports[orderer.name+':7050'] }}"
grpcOptions:
ssl-target-name-override: "{{ orderer.name }}"
tlsCACerts:
path: "{{ '/fabric/keyfiles/'+orderer.org+'/orderers/'+orderer.name+'.'+orderer.org+'/tls/ca.crt' }}"
tlsCACerts:
path: "{{ '/fabric/keyfiles/'+orderer.org+'/orderers/'+orderer.name+'.'+orderer.org+'/tls/ca.crt' }}"
{% endfor %}
peers:
{% for peer in allpeers %}
Expand Down

0 comments on commit a499492

Please sign in to comment.