590cd71893
Fix configuration for ironic role in order to apply custom policies for ironic-inspector API Closes-Bug: #1952948 Change-Id: Id454c693f570e99ea58d2a6231f01a84b80ca56a
18 lines
660 B
Django/Jinja
18 lines
660 B
Django/Jinja
{
|
|
"command": "ironic-inspector --config-file /etc/ironic-inspector/inspector.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/inspector.conf",
|
|
"dest": "/etc/ironic-inspector/inspector.conf",
|
|
"owner": "ironic-inspector",
|
|
"perm": "0600"
|
|
}{% if ironic_inspector_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ ironic_inspector_policy_file }}",
|
|
"dest": "/etc/ironic-inspector/{{ ironic_inspector_policy_file }}",
|
|
"owner": "ironic-inspector",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
]
|
|
}
|