49773a3e82
Setup octavia roles if identity-ops relation is present. Fetch latest version of keystone-resources interface library. Change-Id: I0960f493a4a4bcb99c438f4d8ff1c7bfb64f3534
83 lines
2.1 KiB
YAML
83 lines
2.1 KiB
YAML
name: octavia-k8s
|
|
summary: OpenStack Octavia service
|
|
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
|
|
description: |
|
|
OpenStack Octavia provides loadbalancing service for an OpenStack cloud.
|
|
Currently OVN Octavia provider driver is supported.
|
|
version: 3
|
|
bases:
|
|
- name: ubuntu
|
|
channel: 22.04/stable
|
|
assumes:
|
|
- k8s-api
|
|
- juju >= 3.1
|
|
tags:
|
|
- openstack
|
|
source: https://opendev.org/openstack/charm-octavia-k8s
|
|
issues: https://bugs.launchpad.net/charm-octavia-k8s
|
|
|
|
storage:
|
|
agent-sockets:
|
|
type: filesystem
|
|
description: |
|
|
Storage for the location of agent sockets shared between octavia-api
|
|
and octavia-driver-agent
|
|
minimum-size: 100M
|
|
|
|
containers:
|
|
octavia-api:
|
|
resource: octavia-api-image
|
|
mounts:
|
|
- storage: agent-sockets
|
|
location: /var/run/octavia/
|
|
octavia-driver-agent:
|
|
resource: octavia-driver-agent-image
|
|
mounts:
|
|
- storage: agent-sockets
|
|
location: /var/run/octavia/
|
|
octavia-housekeeping:
|
|
resource: octavia-housekeeping-image
|
|
|
|
resources:
|
|
octavia-api-image:
|
|
type: oci-image
|
|
description: OCI image for OpenStack octavia
|
|
# ghcr.io/canonical/octavia-api:2023.2
|
|
upstream-source: ghcr.io/canonical/octavia-consolidated:2023.2
|
|
octavia-driver-agent-image:
|
|
type: oci-image
|
|
description: OCI image for OpenStack Octavia Driver Agent
|
|
# ghcr.io/canonical/octavia-driver-agent:2023.2
|
|
upstream-source: ghcr.io/canonical/octavia-consolidated:2023.2
|
|
octavia-housekeeping-image:
|
|
type: oci-image
|
|
description: OCI image for OpenStack Octavia Housekeeping
|
|
# ghcr.io/canonical/octavia-housekeeping:2023.2
|
|
upstream-source: ghcr.io/canonical/octavia-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
|
|
ovsdb-cms:
|
|
interface: ovsdb-cms
|
|
certificates:
|
|
interface: tls-certificates
|
|
optional: true
|
|
identity-ops:
|
|
interface: keystone-resources
|
|
optional: true
|
|
|
|
peers:
|
|
peers:
|
|
interface: octavia-peer
|