sunbeam-charms/charms/sunbeam-clusterd/charmcraft.yaml
Guillaume Boutry 619976fe43
Implement sunbeam-clusterd
Sunbeam-clusterd can scale up and down.
Currently, the external address in bound to the peers relationship.
Exposes the action `get-credentials` which returns the URL. In the long
term, it will return the credentials to access securely clusterd.

Change-Id: I8b91efe6d96198f5ad3634b9747161225381ded6
2024-01-25 12:30:54 +01:00

55 lines
930 B
YAML

# This file configures Charmcraft.
# See https://juju.is/docs/sdk/charmcraft-config for guidance.
name: sunbeam-clusterd
type: charm
title: Sunbeam Clusterd
summary: A juju charm to run sunbeam clusterd
description: |
Manage sunbeam clusterd deployment
# (Required for 'charm' type)
bases:
- build-on:
- name: ubuntu
channel: "22.04"
run-on:
- name: ubuntu
channel: "22.04"
parts:
charm:
build-packages:
- git
- libffi-dev
- libssl-dev
- pkg-config
- rustc
- cargo
charm-binary-python-packages:
- cryptography
- jsonschema
- jinja2
peers:
peers:
interface: clusterd-peer
actions:
get-credentials:
description: |
Return information necessary to connect to clusterd.
config:
options:
snap-channel:
default: "2023.2/edge"
type: string
debug:
default: False
type: boolean