From 3b32a4af1d0205bceb54330de2b727d6f57205b3 Mon Sep 17 00:00:00 2001 From: Rafael Lopez Date: Thu, 10 Aug 2023 04:33:00 +0000 Subject: [PATCH] Add note for glance custom-image-properties Document new config option 'custom-image-properties' for glance introduced by: https://review.opendev.org/c/openstack/charm-glance/+/875797 Closes-Bug: #1994053 Change-Id: I706f9ad162a06e577af53f7c694b1d97a1d399b0 --- doc/source/release-notes/2023.2-bobcat.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/source/release-notes/2023.2-bobcat.rst b/doc/source/release-notes/2023.2-bobcat.rst index 3657c790..4dd7b3aa 100644 --- a/doc/source/release-notes/2023.2-bobcat.rst +++ b/doc/source/release-notes/2023.2-bobcat.rst @@ -91,6 +91,22 @@ Snap channel refresh for the Vault snap in charm-vault has been improved to prop stop the service before performing a snap refresh. For more details see bug `LP #2007587`_. +Glance custom image properties +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The glance charm now supports configuring automatic custom image properties for imported images. +The specified properties will be automatically added to all images that go through the `interoperable image import`_ +process. + +To add the custom properties use a comma delimited string of ``key:value`` pairs as follows: + +.. code-block:: none + + juju config glance custom-import-properties='property1:value1,property2:value2,property3:value3' + +Note properties will only be added to images that go through the import process such as ``openstack image create --import`` +but will not be applied to regular image uploads. + Documentation updates --------------------- @@ -142,6 +158,7 @@ Issues discovered during this release cycle .. LINKS .. _Upgrades overview: https://docs.openstack.org/charm-guide/latest/admin/upgrades/overview.html .. _charm repositories: https://opendev.org/openstack?sort=alphabetically&q=charm-&tab= +.. _interoperable image import: https://docs.openstack.org/glance/latest/admin/interoperable-image-import.html .. COMMITS