Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vault testing no longer requires mysql db, so long as vault is initialized properly #1535

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

addyess
Copy link
Member

@addyess addyess commented Jul 11, 2024

Overview

Vault 1.8/stable channel no longer needs mysql or etcd as backing store for vault, instead it uses raft. This simplifies the bundle needed to deploy vault and test encryption at rest.

Details

  • changing the vault-spec to adjust the bundle
  • breaks encryption at rest into two tests -- initializing vault, and testing encrypted secrets
  • the process for initializing vault is a bit different

@addyess addyess force-pushed the akd/vault-validation-with-raft branch from adf4d6f to 11c80ff Compare July 11, 2024 03:24
Comment on lines -60 to -66
# Quiet the noise
logging.getLogger("asyncio").setLevel(logging.INFO)
logging.getLogger("connector").setLevel(logging.INFO)
logging.getLogger("websockets.client").setLevel(logging.INFO)
logging.getLogger("websockets.protocol").setLevel(logging.INFO)
# bump up juju debug
logging.getLogger("juju").setLevel(logging.INFO)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these moved to conftest.py

@addyess addyess force-pushed the akd/vault-validation-with-raft branch from 5925892 to 3e0b650 Compare August 22, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant