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

Adding setter function for vault_path_token #11181

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ocs_ci/utility/kms.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ def vault_path_token(self):
Vault._vault_path_token = self.generate_vault_token()
return Vault._vault_path_token

@vault_path_token.setter
def vault_path_token(self, value):
# For setting values in test cases
Vault._vault_path_token = value

def deploy(self):
"""
This function delegates the deployment of vault
Expand Down
Loading