sunbeam-charms/charms/magnum-k8s/charmcraft.yaml
Hemanth Nakkina 43119913d6
Make ingress-internal mandatory relation
* Make ingress-internal relation mandatory for
charms instead of ingress-public
* If ingress-public is not integrated, default
public endpoint to internal endpoint

Change-Id: Ibbc600b3dd53655f2160394d4717b75e14d63cf8
2024-12-09 18:43:30 +05:30

95 lines
2.2 KiB
YAML

type: charm
name: magnum-k8s
summary: OpenStack magnum service
description: |
Magnum is an OpenStack project which offers container orchestration engines
for deploying and managing containers as first class resources in OpenStack.
assumes:
- k8s-api
- juju >= 3.1
base: ubuntu@24.04
platforms:
amd64:
config:
options:
cluster-user-trust:
type: boolean
default: false
description: |
Controls whether to assign a trust to the cluster user or not. You will
need to set it to True for clusters with volume_driver=cinder or
registry_enabled=true in the underlying cluster template to work. This is
a potential security risk since the trust gives instances OpenStack API
access to the cluster's project. Note that this setting does not affect
per-cluster trusts assigned to the Magnum service user.
debug:
default: false
description: Enable debug logging.
type: boolean
region:
default: RegionOne
description: Name of the OpenStack region
type: string
containers:
magnum-api:
resource: magnum-api-image
magnum-conductor:
resource: magnum-conductor-image
resources:
magnum-api-image:
type: oci-image
description: OCI image for OpenStack magnum
upstream-source: ghcr.io/canonical/magnum-consolidated:2024.1
magnum-conductor-image:
type: oci-image
description: OCI image for OpenStack magnum
upstream-source: ghcr.io/canonical/magnum-consolidated:2024.1
requires:
database:
interface: mysql_client
limit: 1
identity-service:
interface: keystone
identity-ops:
interface: keystone-resources
ingress-internal:
interface: ingress
limit: 1
ingress-public:
interface: ingress
optional: true
limit: 1
amqp:
interface: rabbitmq
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: magnum-peer
parts:
charm:
build-packages:
- git
- libffi-dev
- libssl-dev
charm-binary-python-packages:
- cryptography
- jsonschema
- pydantic
- jinja2