Merge "Respect comments about inspector_keep_ports"

This commit is contained in:
Zuul 2024-11-07 12:33:46 +00:00 committed by Gerrit Code Review
commit 96b0e59c14
2 changed files with 12 additions and 2 deletions

View File

@ -13,8 +13,7 @@ add_ports = {{ kolla_inspector_add_ports }}
{% endif %}
{% if kolla_inspector_keep_ports %}
# Keep only those ports that were found during inspection.
keep_ports = present
keep_ports = {{ kolla_inspector_keep_ports }}
{% endif %}
# Store logs returned by the inspection ramdisk.

View File

@ -0,0 +1,11 @@
---
upgrade:
- |
If you have customized ``inspector_keep_ports``, ensure it is set to one of:
``all``, ``present``, ``added``.
fixes:
- |
``inspector_keep_ports`` can be set to one of: ``all``, ``present``,
``added``. The previous behavior was to set this to ``present`` if the
variable was changed to any non-None value. This respects the behavior
indicated in the comments.