Skip to content

Commit a32bae3

Browse files
committed
feat: use wildcard to encrypt key
1 parent e214a8a commit a32bae3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/deploy-openstack.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ pip install -r $${config_directories[kayobe]}/requirements.txt
6464

6565
# Deploy hashicorp vault to the seed
6666
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/vault-deploy-seed.yml
67+
ansible-vault encrypt --vault-password-file ~/vault.password $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/vault/OS-TLS-INT.pem
68+
ansible-vault encrypt --vault-password-file ~/vault.password $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/vault/seed-vault-keys.json
69+
ansible-vault encrypt --vault-password-file ~/vault.password $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/vault/*.key
6770

6871
kayobe overcloud service deploy -kt haproxy
6972

0 commit comments

Comments
 (0)