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@22.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