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:
parent
1b99b3baa9
commit
8dab672b1f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue