Files
sunbeam-charms/charms/ovn-relay-k8s/charmcraft.yaml
Guillaume Boutry 4931ad53b9 [*-k8s] Migrate charm base to ubuntu@24.04
Update charm base to ubuntu@24.04 for all k8s based charms. Deploying
k8s charm is abstracted from the underlying host base, therefore we can
already deploy next generation based charms.

Change-Id: If8e8960a58a39f9978aaeec26ed4df4a2b690396
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
2024-10-09 09:23:37 +02:00

79 lines
1.5 KiB
YAML

type: charm
name: ovn-relay-k8s
summary: Relay for Open Virtual Network for Open vSwitch
description: |
The charm that deploys OVSDB Relay service.
The OVSDB Relay handles all read-only requests and forwards
transactions that requires database modifications to ovsdb
server.
assumes:
- k8s-api
- juju >= 3.1
links:
source:
- https://opendev.org/x/charm-ovn-relay-k8s
issues:
- https://bugs.launchpad.net/charm-ovn-relay-k8s
base: ubuntu@24.04
platforms:
amd64:
actions:
get-southbound-db-url:
description: Southbound DB Connection URL for access to OVN via the relay.
containers:
ovsdb-server:
resource: ovn-sb-db-server-image
resources:
ovn-sb-db-server-image:
type: oci-image
description: OCI image for OVN Southbound Database Server
upstream-source: ghcr.io/canonical/ovn-consolidated:24.03
requires:
ovsdb-cms:
interface: ovsdb-cms
certificates:
interface: tls-certificates
logging:
interface: loki_push_api
optional: true
tracing:
interface: tracing
optional: true
limit: 1
provides:
ovsdb-cms-relay:
interface: ovsdb-cms
peers:
peers:
interface: ovn-relay-peer
parts:
update-certificates:
plugin: nil
override-build: |
apt update
apt install -y ca-certificates
update-ca-certificates
charm:
after:
- update-certificates
build-packages:
- git
- libffi-dev
- libssl-dev
- pkg-config
- rustc
- cargo
charm-binary-python-packages:
- cryptography
- jsonschema
- jinja2