sunbeam-charms/charms/heat-k8s/charmcraft.yaml
Guillaume Boutry e911599abe
Migrate to unified charmcraft.yaml
Charmcraft 3 moves towards a single charmcraft.yaml, this is needed for
24.04 migration.

Change-Id: I743712752aaf37bf68730b64bd6c147dfad370e2
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
2024-10-08 09:38:10 +02:00

104 lines
2.1 KiB
YAML

type: charm
name: heat-k8s
summary: OpenStack heat service
description: |
Heat is the main project in the OpenStack Orchestration program. It implements an
orchestration engine to launch multiple composite cloud applications based on
templates in the form of text files that can be treated like code.
assumes:
- k8s-api
- juju >= 3.1
links:
source:
- https://opendev.org/openstack/charm-heat-k8s
issues:
- https://bugs.launchpad.net/charm-heat-k8s
base: ubuntu@22.04
platforms:
amd64:
config:
options:
debug:
default: false
description: Enable debug logging.
type: boolean
region:
default: RegionOne
description: Name of the OpenStack region
type: string
containers:
heat-api:
resource: heat-api-image
heat-api-cfn:
resource: heat-api-image
heat-engine:
resource: heat-engine-image
resources:
heat-api-image:
type: oci-image
description: OCI image for OpenStack Heat
upstream-source: ghcr.io/canonical/heat-consolidated:2024.1
heat-engine-image:
type: oci-image
description: OCI image for OpenStack Heat Engine
upstream-source: ghcr.io/canonical/heat-consolidated:2024.1
requires:
database:
interface: mysql_client
limit: 1
identity-service:
interface: keystone
traefik-route-internal:
interface: traefik_route
optional: true
limit: 1
traefik-route-public:
interface: traefik_route
limit: 1
amqp:
interface: rabbitmq
identity-ops:
interface: keystone-resources
receive-ca-cert:
interface: certificate_transfer
optional: true
logging:
interface: loki_push_api
optional: true
tracing:
interface: tracing
optional: true
limit: 1
peers:
peers:
interface: heat-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
- rustc
- cargo
- pkg-config
charm-binary-python-packages:
- cryptography
- jsonschema
- pydantic
- jinja2