Files
charm-octavia-diskimage-ret…/src/config.yaml
2025-01-20 16:35:52 +00:00

89 lines
3.1 KiB
YAML

options:
ubuntu-mirror:
type: string
default: ''
description: |
Repository from which to retrieve ubuntu packages. To pass
multiple pockets, '\n' can be used. e.g.
.
'deb http://example.com/ubuntu jammy main universe\ndeb
http://example.com/ubuntu jammy-security main universe\ndeb
http://example.com/ubuntu jammy-updates main universe'
uca-mirror:
type: string
default: ''
description: |
Repository from which to install UCA packages. May be one of the
following: ppa:somecustom/ppa, a deb url sources entry, or a
supported Ubuntu Cloud Archive e.g.
.
cloud:<series>-<openstack-release>
cloud:<series>-<openstack-release>/updates
cloud:<series>-<openstack-release>/staging
cloud:<series>-<openstack-release>/proposed
.
See https://wiki.ubuntu.com/OpenStack/CloudArchive for info on which
cloud archives are available and supported.
.
NOTE: updating this setting to a source that is known to provide
a later version of OpenStack will trigger a software upgrade unless
action-managed-upgrade is set to True.
NOTE: a corresponding public key from keyserver.ubuntu.com can be used
when specifying a repository by appending the key separated by a | when
entering the deb url sources entry, i.e.
openstack-origin="deb <DEB URL>|<PUB KEY>"
retrofit-series:
type: string
default:
description: |
Ubuntu series (eg. 'bionic') to look for in Glance to use as base
for the retrofitting process.
.
Default is to use most recent LTS. If no value is configured and the
charm is not able to find the most recent LTS image in Glance it will
attempt to find a image matching the series of the unit the charm is run
on.
retrofit-uca-pocket:
type: string
default:
description: |
Name of Ubuntu Cloud Archive pocket to add to the image being
retrofitted.
.
Default is 'ussuri' if ``retrofit-series`` is 'bionic', for other
releases no UCA pocket will be added unless specified.
image-format:
type: string
default: qcow2
description: |
Disk image format that will be uploaded to Glance. When using ceph, it is recommended
to set this option to raw.
amp-image-tag:
type: string
default: ''
description: |
When set the charm will add tag to any newly created images.
.
Note that the charm will allways add the ``octavia-diskimage-retrofit``
tag to created images, this is for convenience and may be used by the
charm for housekeeping in the future.
auto-retrofit:
type: boolean
default: False
description: |
Enable cron-based retrofitting.
.
If True, cron job to automatically retrofit images according to the
``frequency`` param, will be set on the leader unit.
frequency:
type: string
default: "daily"
description: |
Frequency of the auto retrofit cron job execution
.
It is one of ['hourly', 'daily', 'weekly']
region:
default: RegionOne
type: string
description: OpenStack Region