generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 8
/
metadata.yaml
53 lines (47 loc) · 1.37 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
49
50
51
52
53
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
name: opensearch
display-name: OpenSearch
description: |
Machine charm for OpenSearch
docs: https://discourse.charmhub.io/t/charmed-opensearch-documentation/9729
summary: |
Machine charm for OpenSearch
peers:
opensearch-peers:
interface: opensearch_peers
node-lock-fallback:
interface: node_lock_fallback
upgrade-version-a:
# Relation versioning scheme:
# DA056 - Upgrading in-place upgrade protocol
# https://docs.google.com/document/d/1H7qy5SAwLiCOKO9xMQJbbQP5_-jGV6Lhi-mJOk4gZ08/edit
interface: upgrade
provides:
peer-cluster-orchestrator:
interface: peer_cluster
optional: true
opensearch-client:
interface: opensearch_client
cos-agent:
description: |
`cos-agent` is a dedicated relation for the grafana agent machine
charm. It will allow you to set up custom scrape jobs, fetch files
from arbitrary locations, send alert rules, dashboards, etc.
interface: cos_agent
scope: container
requires:
certificates:
interface: tls-certificates
limit: 1
peer-cluster:
interface: peer_cluster
limit: 2 # (main+failover)_cluster_orchestrator(s)
optional: true
s3-credentials:
interface: s3
limit: 1
storage:
opensearch-data:
type: filesystem
location: /var/snap/opensearch/common # /mnt/opensearch/data