-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcharmcraft.yaml
44 lines (39 loc) · 1.06 KB
/
charmcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
name: hexanator
type: charm
title: Charmed Gubernator
summary: High-performance, distributed rate-limiting service
description: This is a charm for Gubernator, a high-performance, distributed rate-limiting service.
# charmcraft 3.0
base: [email protected]
build-base: [email protected]
platforms:
amd64:
arm64:
# Work-around from https://discourse.charmhub.io/t/charmcraft-3-0-in-the-beta-channel/13469/5?u=dimaqq
parts:
charm:
plugin: charm
source: .
build-packages:
- rustc
- cargo
containers:
gubernator:
resource: gubernator
resources:
gubernator:
type: oci-image
description: Gubernator Rock with Pebble
upstream-source: docker.io/gubernator-io/gubernator:3.0.0
links:
source: https://github.com/gubernator-io/gubernator
requires:
ingress:
interface: ingress
limit: 1
description: tells the load balancer how to call gubernator
provides:
rate-limit:
interface: http
description: tells the consumer application how to call gubernator