diff --git a/src/agent/ansible/roles/deploy_k8s/certsetup/templates/configtx.j2 b/src/agent/ansible/roles/deploy_k8s/certsetup/templates/configtx.j2 index 603e93ea4..76656fe41 100755 --- a/src/agent/ansible/roles/deploy_k8s/certsetup/templates/configtx.j2 +++ b/src/agent/ansible/roles/deploy_k8s/certsetup/templates/configtx.j2 @@ -50,21 +50,27 @@ Organizations: {% if project_version is version_compare('1.1.0','>=') or 'stable' in project_version or project_version == 'latest' %} Capabilities: Global: &ChannelCapabilities -{% if project_version is version_compare('1.4.0','>=') or 'stable' in project_version or project_version == 'latest' %} - V1_4: true -{% elif project_version is version_compare('1.3.0','>=') and project_version is version_compare('1.4.0','<') %} +{% if project_version is version_compare('1.4.3','>=') %} + V1_4_3: true +{% elif project_version is version_compare('1.4.2','>=') and project_version is version_compare('1.4.3','<') %} + V1_4_2: true +{% elif project_version is version_compare('1.3.0','>=') and project_version is version_compare('1.4.2','<') %} V1_3: true {% elif project_version is version_compare('1.1.0','>=') and project_version is version_compare('1.3.0','<') %} V1_1: true {% endif %} Orderer: &OrdererCapabilities +{% if project_version is version_compare('1.4.2','>=') %} + V1_4_2: true +{% else %} V1_1: true +{% endif %} Application: &ApplicationCapabilities -{% if project_version is version_compare('1.4.0','>=') or 'stable' in project_version or project_version == 'latest' %} - V1_4: true -{% elif project_version is version_compare('1.3.0','>=') and project_version is version_compare('1.4.0','<') %} +{% if project_version is version_compare('1.4.2','>=') %} + V1_4_2: true +{% elif project_version is version_compare('1.3.0','>=') and project_version is version_compare('1.4.1','<=') %} V1_3: true {% elif project_version is version_compare('1.2.0','>=') and project_version is version_compare('1.3.0','<') %} V1_2: true