sunbeam-charms/ops-sunbeam/shared_code/sunbeam_charm/{{cookiecutter.service_name}}/charmcraft.yaml
Guillaume Boutry a0d62d61e3 Migrate traefik ingress to v2
Current ingress relation only routes unit to requirer's leader.
Ingress V2 fixes that issue.

Change-Id: Ie17c31a8a3fc04c42e31ff424ce7bf1f9eff178f
2023-09-26 17:07:31 +02:00

32 lines
632 B
YAML

type: "charm"
bases:
- build-on:
- name: "ubuntu"
channel: "22.04"
run-on:
- name: "ubuntu"
channel: "22.04"
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<2.0
- jinja2
- git+https://opendev.org/openstack/charm-ops-sunbeam#egg=ops_sunbeam