test_vault_workaround module
- Description:
This module Checks to see if the Vault workaround has been applied.
- class test_vault_workaround.TestVault
Bases:
object
- test_k8s_domino_version()
- Description:
Checks to see if the version of k8s is newer than 1.21.0
- Result:
This test will skip for versions below 1.21.0
- test_vault_running()
- Description:
Check if the domino deployment has vault deployed
- Result:
If vault is not deployed this test will skip
- test_vault_workaround()
- Description:
Run the actual check to see if the fix has already been applied to the system
- Result:
Display if Value does not have the required fix
- Public Facing KB:
https://tickets.dominodatalab.com/hc/en-us/articles/9151903649812-500-and-400-errors-due-to-com-bettercloud-vault-VaultException-using-K8s-1-21-on-Domino-4-6-x-5-x-up-to-5-2-2-and-5-3-0 https://www.vaultproject.io/docs/auth/kubernetes#kubernetes-1-21
- test_vault_workaround_v2()
- Description:
Run the actual check to see if the Vault v2 version of fix has already been applied to the system
- Result:
Display if vault remdiation fix version v2 is applied
- Public Facing KB:
https://tickets.dominodatalab.com/hc/en-us/articles/9151903649812-500-and-400-errors-due-to-com-bettercloud-vault-VaultException-using-K8s-1-21-on-Domino-4-6-x-5-x-up-to-5-2-2-and-5-3-0 https://www.vaultproject.io/docs/auth/kubernetes#kubernetes-1-21