Files
sunbeam-charms/charms/glance-k8s/metadata.yaml
Guillaume Boutry e5fb16d6b9 Implement tracing
Implement tracing relation for all the charms.
Instrument most of ops.Object objects, including relation handlers,
pebble handlers, and relation objects.

Change-Id: I967ff858a63aa7d30094cf5a46491fce11195060
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
2024-07-31 11:57:32 +02:00

89 lines
2.1 KiB
YAML

# Copyright 2021 Canonical Ltd
# See LICENSE file for licensing details.
name: glance-k8s
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
summary: OpenStack Image Registry and Delivery Service
description: |
The Glance project provides an image registration and discovery service
and an image delivery service. These services are used in conjunction
by Nova to deliver images from object stores, such as OpenStack's Swift
service, to Nova's compute nodes.
version: 3
bases:
- name: ubuntu
channel: 22.04/stable
assumes:
- k8s-api
- juju >= 3.1
tags:
- openstack
- storage
- misc
source: https://opendev.org/openstack/charm-glance-k8s
issues: https://bugs.launchpad.net/charm-glance-k8s
containers:
glance-api:
resource: glance-api-image
mounts:
- storage: local-repository
# A persistent storage place to store glance images in a local file
# based repository. This must be shared storage in order to support a
# highly available glance registry.
location: /var/lib/glance/images
resources:
glance-api-image:
type: oci-image
description: OCI image for OpenStack Glance
# ghcr.io/canonical/glance-api:2024.1
upstream-source: ghcr.io/canonical/glance-api:2024.1
storage:
local-repository:
type: filesystem
minimum-size: 10GiB
description: |
A local filesystem storage repository for glance images to be saved to.
Note, this must be shared storage in order to support a highly
available glance image registry.
requires:
database:
interface: mysql_client
limit: 1
ingress-internal:
interface: ingress
optional: true
limit: 1
ingress-public:
interface: ingress
limit: 1
identity-service:
interface: keystone
limit: 1
amqp:
interface: rabbitmq
optional: true
ceph:
interface: ceph-client
optional: true
receive-ca-cert:
interface: certificate_transfer
optional: true
logging:
interface: loki_push_api
optional: true
tracing:
interface: tracing
optional: true
limit: 1
provides:
image-service:
interface: glance
peers:
peers:
interface: glance-peer