bevel icon indicating copy to clipboard operation
bevel copied to clipboard

feat(fabric): ansible decoupling for create/users

Open jagpreetsinghsasan opened this issue 2 years ago • 0 comments

Description

As a developer, I want to decouple Ansible from Bevel.This is achieved by moving the extra functionality from ansible to helm charts and use ansible only for templating purposes only.

This issue covers the change needed for create/users role

State of the deployment before running of the new role (subject to change, if required)

  1. ca.crt, client.key and client.crt are absent from vault at path {{ vault.secret_path | default('secretsv2') }}/crypto/peerOrganizations/{{ component_name }}/users/{{ user.identity }}/tls

  2. admincerts, cacerts, keystore, signcerts and tlscacerts are absent from vault at path {{ vault.secret_path | default('secretsv2') }}/crypto/peerOrganizations/{{ component_name }}/users/{{ user.identity }}/msp

(The same being for both, proxy.none being true and false)

State of the deployment after running the new role (subject to change, if required) The above mentioned certificates generated and stored on the paths mentioned

Acceptance Criteria

  1. The create/users role should be modified in such a way that ansible is only used for templating purpose.
  2. The previous and expected state of the deployment shall match the above description

jagpreetsinghsasan avatar Mar 04 '22 09:03 jagpreetsinghsasan