Files
sunbeam-charms/charms/designate-bind-k8s/charmcraft.yaml
Guillaume Boutry 011d223062 Build using rust-1.80
Newer libs version require the new rust lockfile format which is
available from rust 1.80 (noble distro version).

Change-Id: I419c86cec36af34caf61b0e6ba812970a580abd3
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
2025-05-19 20:32:08 +02:00

83 lines
1.8 KiB
YAML

type: charm
name: designate-bind-k8s
summary: OpenStack designate-bind service
description:
"Domain Name Service (DNS) is an Internet service that maps IP addresses\
\ and fully qualified domain names (FQDN) to one another.\nIn this way, DNS alleviates\
\ the need to remember IP addresses. Computers that run DNS are called name servers.\
\ \nUbuntu ships with BIND (Berkley Internet Naming Daemon), the most common program\
\ used for maintaining a name server on Linux.\n"
assumes:
- k8s-api
- juju >= 3.1
links:
source:
- https://opendev.org/openstack/charm-designate-bind-k8s
issues:
- https://bugs.launchpad.net/charm-designate-bind-k8s
base: ubuntu@24.04
platforms:
amd64:
config:
options:
debug:
default: false
description: Enable debug logging.
type: boolean
containers:
designate-bind:
resource: designate-bind-image
resources:
designate-bind-image:
type: oci-image
description: OCI image for bind9
upstream-source: ubuntu/bind9:9.18-22.04_beta
requires:
logging:
interface: loki_push_api
optional: true
tracing:
interface: tracing
optional: true
limit: 1
provides:
dns-backend:
interface: bind-rndc
peers:
peers:
interface: bind-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-1.80
- cargo-1.80
- pkg-config
charm-binary-python-packages:
- cryptography
- jsonschema
- jinja2
build-snaps: [astral-uv]
override-build: |
uv export --frozen --no-hashes --format=requirements-txt -o requirements.txt
craftctl default
charm-requirements: [requirements.txt]