Update README with CA instructions

Add CA issuer instructions for vault-ca
This commit is contained in:
ducoterra
2021-05-21 11:50:34 -04:00
parent a4117db3e7
commit cd91da981e
7 changed files with 195 additions and 9 deletions

View File

@@ -18,8 +18,11 @@ for vault in vaults:
threading.Thread(
target = subprocess.run,
args = (
["kubectl", "exec", "-ti", vault, "--", "vault", "operator", "unseal", vault_secrets.get("unseal_keys_b64")[key]],))
for key in range(int(vault_secrets.get("unseal_threshold")))
["kubectl", "--context", "k3os-alpha.dnet-admin-vault",
"exec", "-ti", vault, "--",
"vault", "operator", "unseal",
vault_secrets.get("unseal_keys_b64")[key]],))
for key in range(int(vault_secrets.get("unseal_threshold")))
]
for thread in procs: