sunbeam-charms/charms/gnocchi-k8s/metadata.yaml
Hemanth Nakkina 244fe0e18b Add interface to provide service readiness
Ceilometer requires gnocchi service to be up
and running to perform db sync. Add a new
interface gnocchi-service that updates the
service readiness on the relation.

Update Gnocchi charm to handle the events
from the new interface gnocchi-service.

Change-Id: I8ea006c1adf8d6839be6915b8389b700692601d6
2023-10-10 13:54:17 +05:30

62 lines
1.4 KiB
YAML

name: gnocchi-k8s
summary: OpenStack gnocchi service
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
description: |
OpenStack gnocchi provides an HTTP service for managing, selecting,
and claiming providers of classes of inventory representing available
resources in a cloud.
.
version: 3
bases:
- name: ubuntu
channel: 22.04/stable
assumes:
- k8s-api
- juju >= 3.1
tags:
- openstack
source: https://opendev.org/openstack/charm-gnocchi-k8s
issues: https://bugs.launchpad.net/charm-gnocchi-k8s
containers:
gnocchi-api:
resource: gnocchi-api-image
gnocchi-metricd:
resource: gnocchi-metricd-image
resources:
gnocchi-api-image:
type: oci-image
description: OCI image for OpenStack Gnocchi api service
# ghcr.io/canonical/gnocchi-api:2023.2
upstream-source: ghcr.io/canonical/gnocchi-consolidated:2023.2
gnocchi-metricd-image:
type: oci-image
description: OCI image for OpenStack Gnocchi Metric service
# ghcr.io/canonical/gnocchi-metricd:2023.2
upstream-source: ghcr.io/canonical/gnocchi-consolidated:2023.2
requires:
database:
interface: mysql_client
limit: 1
identity-service:
interface: keystone
ingress-internal:
interface: ingress
optional: true
limit: 1
ingress-public:
interface: ingress
limit: 1
ceph:
interface: ceph-client
provides:
gnocchi-service:
interface: gnocchi
peers:
peers:
interface: gnocchi-peer