Skip to content

Commit fc829f6

Browse files
committed
OS-capacity exporter should not be exposed
The os-capacity exporter has access to admin cloud credentials and provides details of current utilisation for all OpenStack tenancies. Currently this exporter binds to all interfaces on hosts where it is deployed, which may lead to leakage of potentially important data on an unauthenticated port. Bind the exporter only to the Internal API network, from where it is usually scraped. Signed-off-by: Stig Telfer <stig@stackhpc.com>
1 parent 5e41529 commit fc829f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/kayobe/ansible/deployment/deploy-os-capacity-exporter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
env:
6767
OS_CLOUD: openstack
6868
OS_CLIENT_CONFIG_FILE: /etc/openstack/clouds.yaml
69+
OS_CAPACITY_EXPORTER_LISTEN_ADDRESS: "{{ internal_net_name | net_ip }}"
6970
mounts:
7071
- type: bind
7172
source: /opt/kayobe/os-capacity/

0 commit comments

Comments
 (0)