Skip to content

Commit bf0edab

Browse files
committed
Add option to enable/disable TLS verification
1 parent a2b804e commit bf0edab

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

etc/kayobe/ansible/deploy-radosgw-usage-exporter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
ADMIN_ENTRY: admin
8383
ACCESS_KEY: "{{ ec2.Access }}"
8484
SECRET_KEY: "{{ ec2.Secret }}"
85+
entrypoint: "{{ [ 'python', '-u', './radosgw_usage_exporter.py', '--insecure' ] if not stackhpc_radosgw_usage_exporter_verify else omit }}"
8586
vars:
8687
ec2: "{{ credential.stdout | from_json | first }}"
8788
host: "{{ endpoint.stdout | from_json | first }}"

etc/kayobe/stackhpc-monitoring.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,10 @@ redfish_exporter_target_address: "{{ ipmi_address }}"
5858
# Enabling this will result in templating radosge_usage_exporter endpoint as
5959
# Prometheus scrape targets during deployment.
6060
stackhpc_enable_radosgw_usage_exporter: false
61+
62+
# Port to expose RADOS gateway usage exporter. Default is 9242
6163
stackhpc_radosgw_usage_exporter_port: 9242
64+
65+
# Whether TLS certificate verification is enabled for the RADOS gateway usage
66+
# exporter for querying Ceph RADOS gateway APIs. Default is true
67+
stackhpc_radosgw_usage_exporter_verify: true

0 commit comments

Comments
 (0)