Skip to content

Commit e810107

Browse files
jackhodgkissAlex-Welsh
authored andcommitted
feat: add step about no_proxy for openbao
1 parent 0a1aee0 commit e810107

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

doc/source/configuration/openbao.rst

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,26 @@ Setup OpenBao on the seed node
111111
Setup OpenBao HA on the overcloud hosts
112112
---------------------------------------
113113

114-
1. Run secret-store-deploy-overcloud.yml custom playbook
114+
1. If using a walled garden, ensure ``no_proxy`` is configured to include the first controller's internal network IP. Append it to the list if necessary.
115+
116+
.. code-block:: yaml
117+
:caption: ``inventory/group_vars/overcloud/proxy.yml``
118+
119+
---
120+
no_proxy:
121+
- "{{ lookup('vars', internal_net_name ~ '_ips')[groups.controllers.0] }}"
122+
123+
.. code-block:: bash
124+
125+
kayobe overcloud host configure -t proxy
126+
127+
2. Run secret-store-deploy-overcloud.yml custom playbook
115128

116129
.. code-block:: bash
117130
118131
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/secret-store-deploy-overcloud.yml
119132
120-
2. Encrypt overcloud openbao keys (use proper location of vault password file)
133+
3. Encrypt overcloud openbao keys (use proper location of vault password file)
121134

122135
.. code-block:: bash
123136
@@ -126,6 +139,16 @@ Setup OpenBao HA on the overcloud hosts
126139
# For Hashicorp Vault
127140
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/vault/overcloud-vault-keys.json
128141
142+
143+
Or if environments are being used
144+
145+
.. code-block:: bash
146+
147+
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/openbao/overcloud-openbao-keys.json
148+
149+
# For Hashicorp Vault
150+
ansible-vault encrypt --vault-password-file ~/vault.pass $KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/vault/overcloud-vault-keys.json
151+
129152
Rotating OpenBao certificate on the overcloud hosts
130153
---------------------------------------------------
131154

0 commit comments

Comments
 (0)