0434825ea9
This change adds an admin-access interface to pass the admin credentials and api endpoint details to another charm. The dashboard charm uses this information registern the iscsi gateways with the dashboard. Change-Id: I5336ecab6a08e71dda22ba0347b8bee2f5683c3f
19 lines
517 B
INI
19 lines
517 B
INI
[config]
|
|
logger_level = DEBUG
|
|
cluster_name = ceph
|
|
cluster_client_name = client.ceph-iscsi
|
|
pool = {{ options.gateway_metadata_pool }}
|
|
|
|
gateway_keyring = ceph.client.ceph-iscsi.keyring
|
|
ceph_config_dir = /etc/ceph/iscsi
|
|
|
|
api_secure = {{ certificates.enable_tls }}
|
|
api_user = admin
|
|
api_password = {{ cluster.admin_password }}
|
|
api_port = 5000
|
|
{% if admin_access.trusted_ips -%}
|
|
trusted_ip_list = {{ cluster.trusted_ips }},{{ admin_access.trusted_ips }}
|
|
{% else -%}
|
|
trusted_ip_list = {{ cluster.trusted_ips }}
|
|
{% endif -%}
|