Skip to content

Commit c1b64e2

Browse files
committed
Add option to enable/disable TLS verification
1 parent de79e12 commit c1b64e2

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
@@ -31,4 +31,10 @@ stackhpc_os_capacity_openstack_verify: true
3131
# Enabling this will result in templating radosge_usage_exporter endpoint as
3232
# Prometheus scrape targets during deployment.
3333
stackhpc_enable_radosgw_usage_exporter: false
34+
35+
# Port to expose RADOS gateway usage exporter. Default is 9242
3436
stackhpc_radosgw_usage_exporter_port: 9242
37+
38+
# Whether TLS certificate verification is enabled for the RADOS gateway usage
39+
# exporter for querying Ceph RADOS gateway APIs. Default is true
40+
stackhpc_radosgw_usage_exporter_verify: true

0 commit comments

Comments
 (0)