4a473da7fe
Currently the heat charm instance runs heat-api and heat-engine services or heat-api-cfn or heat-engine services. Change heat charm to deploy heat-api, heat-api-cfn, heat-engine containers. Change the ingress relation to use traefik-route interface instead of ingress interface so that the traefik configuration for heat-api and heat-api-cfn serive can be written by charm. Add heat-api-cfn pebble container handler and update service endpoints accordingly. Remove heat-config interface and corresponding handlers. Change-Id: I391f8d4ffefcebdb2423fcc1947590ca906d711a
61 lines
1.5 KiB
YAML
61 lines
1.5 KiB
YAML
name: heat-k8s
|
|
summary: OpenStack heat service
|
|
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
|
|
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.
|
|
version: 3
|
|
bases:
|
|
- name: ubuntu
|
|
channel: 22.04/stable
|
|
assumes:
|
|
- k8s-api
|
|
- juju >= 3.1
|
|
tags:
|
|
- openstack
|
|
source: https://opendev.org/openstack/charm-heat-k8s
|
|
issues: https://bugs.launchpad.net/charm-heat-k8s
|
|
|
|
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
|
|
# ghcr.io/canonical/heat-api:2023.2
|
|
upstream-source: ghcr.io/canonical/heat-consolidated:2023.2
|
|
heat-engine-image:
|
|
type: oci-image
|
|
description: OCI image for OpenStack Heat Engine
|
|
# ghcr.io/canonical/heat-engine:2023.2
|
|
upstream-source: ghcr.io/canonical/heat-consolidated:2023.2
|
|
|
|
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
|
|
|
|
peers:
|
|
peers:
|
|
interface: heat-peer
|