sunbeam-charms/charms/glance-k8s/metadata.yaml
Liam Young cf3c884ae2 Switch charm to Bobcat
Switch charm to Bobcat release. Microk8s 1.28 will be the default
for Bobcat. Also ensure images are being collected from
ghcr.io/canonical

Change-Id: I51edbefbe61e2450323bc54c6f0271ce435a80fd
2023-10-05 06:17:17 +00:00

78 lines
1.9 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:2023.2
upstream-source: ghcr.io/canonical/glance-api:2023.2
storage:
local-repository:
type: filesystem
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
provides:
image-service:
interface: glance
peers:
peers:
interface: glance-peer