Adds feature flag for ironic-inspector in bifrost

This is useful for backwards compatability.

Depends-On: https://review.opendev.org/c/openstack/kolla/+/909865
Change-Id: Ib2936580db5e7ab3479722bc353c39063010b5f2
This commit is contained in:
Will Szumski 2024-02-22 15:50:00 +00:00
parent e513ddd982
commit 4d40c9e68f
3 changed files with 19 additions and 0 deletions

View File

@ -11,3 +11,10 @@ bifrost_deploy_image_full: "{{ bifrost_deploy_image }}:{{ bifrost_deploy_tag }}"
bifrost_deploy_container_proxy: "{{ container_proxy }}"
bifrost_deploy_verbosity: "-vvvv"
# Whether to enable the legacy ironic-inspector service
# NOTE(wszumski): Bifrost plans to remove this option once the native in-band
# inspection reaches feature parity. Please see:
# https://bugs.launchpad.net/kolla/+bug/2054685 which contains links for
# tracking the progress.
bifrost_enable_ironic_inspector: true

View File

@ -33,3 +33,6 @@ generate_tls: true
# NOTE: Needs to be world-readable, writeable by root, and persistent, which
# the default /etc/bifrost is not.
tls_root: "/etc/bifrost-certs"
# Whether to enable the legacy ironic-inspector service.
enable_inspector: "{{ bifrost_enable_ironic_inspector }}"

View File

@ -0,0 +1,9 @@
---
features:
- |
Exposes a flag, ``bifrost_enable_ironic_inspector``, to enable
ironic-inspector in Bifrost. This option defaults to ``True`` as it can be
useful for backwards compatability. It is still possible to use native
in-band inspection when Ironic Inspector is enabled by setting
``inspect_interface`` to ``agent``. Please see the Ironic documentation for
more details.