Revert "Ensure secrets are issued after charm authorization"

This is being reverted as it breaks all deployments that
don't have a secrets relation, making it no longer possible
to use Vault for TLS certificates only.

This reverts commit 1b99b3baa9.

Change-Id: I252d163bef1bb8c6b3f0608ba8358cad149f4842
This commit is contained in:
Chris MacNaughton (icey) 2020-04-22 13:46:16 +00:00
parent 1b99b3baa9
commit 8dab672b1f
1 changed files with 0 additions and 1 deletions

View File

@ -44,7 +44,6 @@ def authorize_charm_action(*args):
action_config = hookenv.action_get()
role_id = vault.setup_charm_vault_access(action_config['token'])
hookenv.leader_set({vault.CHARM_ACCESS_ROLE_ID: role_id})
set_flag('secrets.refresh')
def refresh_secrets(*args):