Skip to content

Commit d3acbe2

Browse files
committed
update production docs for control_ip_addresses
1 parent 9c3bb96 commit d3acbe2

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

docs/production.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -134,22 +134,9 @@ and referenced from the `site` and `production` environments, e.g.:
134134
135135
- Consider whether having (read-only) access to Grafana without login is OK. If not, remove `grafana_auth_anonymous` in `environments/$ENV/inventory/group_vars/all/grafana.yml`
136136
137-
- Modify `environments/site/tofu/nodes.tf` to provide fixed IPs for at least
138-
the control node, and (if not using FIPs) the login node(s):
139-
140-
```
141-
resource "openstack_networking_port_v2" "control" {
142-
...
143-
fixed_ip {
144-
subnet_id = data.openstack_networking_subnet_v2.cluster_subnet.id
145-
ip_address = (var.control_ip_addresses != {})? var.control_ip_addresses[each.key]: null
146-
}
147-
}
148-
```
149-
150-
Note the variable `control_ip_addresses` is new.
151-
152-
Using fixed IPs will require either using admin credentials or policy changes.
137+
- If fixed IP(s) are required for the control node, set the OpenTofu variable
138+
`control_ip_addresses`. This will require either using admin credentials or
139+
policy changes.
153140
154141
- If floating IPs are required for login nodes, modify the OpenTofu configurations
155142
appropriately.

0 commit comments

Comments
 (0)