-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmetadata.yaml
48 lines (42 loc) · 1.22 KB
/
metadata.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
45
46
47
48
# Copyright 2021 Canonical Ltd.
# See LICENSE file for licensing details.
name: karma-k8s
description: |
Alertmanager UI is useful for browsing alerts and managing silences, but it's
lacking as a dashboard tool - karma aims to fill this gap. This charm deploys
and manages Karma in a Kubernetes environment.
summary: |
Aggregator and alternative UI for Alertmanager.
containers:
karma:
resource: karma-image
mounts:
# TODO: remove persistent storage for config after private key is moved to juju secrets.
- storage: config
location: /srv
storage:
config:
type: filesystem
resources:
karma-image:
type: oci-image
description: OCI image for karma
upstream-source: ghcr.io/prymitive/karma:v0.114
requires:
ingress:
interface: ingress
dashboard:
# Requirer's unit data bag should have the following keys:
# - name (e.g. "alertmanager-k8s/0")
# - uri (e.g. "http://1.1.1.1:9093")
interface: karma_dashboard
certificates:
interface: tls-certificates
limit: 1
description: |
Certificate and key files for the karma server to use to authenticate to client.
catalogue:
interface: catalogue
peers:
replicas:
interface: karma_replica