Skip to content

Commit

Permalink
[CE-394] Fixing configtx.j2 in cello/ansible k8s
Browse files Browse the repository at this point in the history
Fixing configtx.j2 to include correct orderer organization policies
for v1.2

Change-Id: I777ba10285c90a5ab92e646883f138d8278dee32
Signed-off-by: Surya <[email protected]>
  • Loading branch information
suryalnvs committed Jun 25, 2018
1 parent a8539c2 commit 0c6f2f2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Organizations:
Name: {{ org }}
ID: {{ org }}
MSPDir: {{ fabricworkdir }}/keyfiles/{{ org }}/msp
{% if org in peerorgs %}
{% if project_version | version_compare('1.2.0','>=') or 'stable' in project_version or project_version == 'latest' %}
Policies:
Readers:
Expand All @@ -29,7 +30,7 @@ Organizations:
- Host: {{ org_anchor[org].name }}
Port: 7051
{% endif %}
{% else %}
{% elif org in ordererorgs %}
{% if project_version | version_compare('1.2.0','>=') or 'stable' in project_version or project_version == 'latest' %}
Policies:
Readers:
Expand All @@ -42,6 +43,7 @@ Organizations:
Type: Signature
Rule: "OR('{{ org }}.admin')"
{% endif %}
{% endif %}

{% endfor %}
{% endif %}
Expand Down

0 comments on commit 0c6f2f2

Please sign in to comment.