Hemanth Nakkina 7676c9b81c specify image digest for OCI images
Update upstream-source in metadata.yaml to OCI image
digest instead of image with tag. This will help in
pinning the image to a specific revision instead of a
moving pointer based on tag.

Change-Id: Ic4324dc8c908fd2d3b613fdb1d631e0fa29df3c1
2022-08-11 20:08:52 +05:30

67 lines
2.3 KiB
YAML

name: ovn-central-k8s
summary: Open Virtual Network for Open vSwitch
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
description: |
Principal charm that deploys ovn-northd, the OVN central control daemon,
and ovsdb-server, the Open vSwitch Database (OVSDB).
The ovn-northd daemon is responsible for translating the high-level OVN
configuration into logical configuration consumable by daemons such as
ovn-controller.
The ovn-northd process talks to OVN Northbound- and Southbound- databases.
The ovsdb-server exposes endpoints over relations implemented by the ovsdb
interface.
The charm supports clustering of the OVSDB, you must have a odd number of
units for this to work. Note that write performance decreases as you
increase the number of units.
Running multiple ovn-northd daemons is supported and they will operate in
active/passive mode. The daemon uses a locking feature in the OVSDB to
automatically choose a single active instance.
tags:
- networking
containers:
ovn-sb-db-server:
resource: ovn-sb-db-server-image
ovn-nb-db-server:
resource: ovn-nb-db-server-image
ovn-northd:
resource: ovn-northd-image
resources:
ovn-sb-db-server-image:
type: oci-image
description: OCI image for OVN Southbound Database Server
# docker.io/kolla/ubuntu-binary-ovn-sb-db-server:xena
upstream-source: docker.io/kolla/ubuntu-binary-ovn-sb-db-server@sha256:97105560d1360ed0a707ddf2cadc8aac1cb076cc08580a39f51ddb62e89027ca
ovn-nb-db-server-image:
type: oci-image
description: OCI image for OVN Northbound Database Server
# docker.io/kolla/ubuntu-binary-ovn-nb-db-server:xena
upstream-source: docker.io/kolla/ubuntu-binary-ovn-nb-db-server@sha256:d3cbecbfbc2c8bdee5f6dc17d182fe004208d7b9d9da8549dba42261dbe8668f
ovn-northd-image:
type: oci-image
description: OCI image for OVN Northd
# docker.io/kolla/ubuntu-binary-ovn-northd:xena
upstream-source: docker.io/kolla/ubuntu-binary-ovn-northd@sha256:b78cc657c2966727dca55396daac7d1797113212e97de0961fb612c6bc0ba969
requires:
certificates:
interface: tls-certificates
provides:
ovsdb:
interface: ovsdb
ovsdb-cms:
interface: ovsdb-cms
ovsdb-server:
interface: ovsdb-cluster
peers:
peers:
interface: ovn-central-peer