mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-20 07:17:45 -02:30
refactor vault role (#2733)
* Move front-proxy-client certs back to kube mount We want the same CA for all k8s certs * Refactor vault to use a third party module The module adds idempotency and reduces some of the repetitive logic in the vault role Requires ansible-modules-hashivault on ansible node and hvac on the vault hosts themselves Add upgrade test scenario Remove bootstrap-os tags from tasks * fix upgrade issues * improve unseal logic * specify ca and fix etcd check * Fix initialization check bump machine size
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
# Vault cluster using Etcd as the backend. The same Root CA is mounted as
|
||||
# used during step 1, allowing all certs to have the same chain of trust.
|
||||
|
||||
- name: install hvac
|
||||
pip:
|
||||
name: "hvac"
|
||||
state: "present"
|
||||
|
||||
## Bootstrap
|
||||
- include_tasks: bootstrap/main.yml
|
||||
when: cert_management == 'vault' and vault_bootstrap | d()
|
||||
|
||||
Reference in New Issue
Block a user