Skip to content

Commit

Permalink
Revert "Ensure secrets are issued after charm authorization"
Browse files Browse the repository at this point in the history
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 1b99b3b.

Change-Id: I252d163bef1bb8c6b3f0608ba8358cad149f4842
  • Loading branch information
ChrisMacNaughton committed Apr 22, 2020
1 parent 1b99b3b commit 8dab672
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/actions/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8dab672

Please sign in to comment.