-
Notifications
You must be signed in to change notification settings - Fork 20
/
metadata.yaml
95 lines (87 loc) · 2.21 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
name: postgresql-k8s
display-name: Charmed PostgreSQL K8s
summary: Charmed PostgreSQL K8s operator
description: |
Charm to operate the PostgreSQL database on Kubernetes clusters
docs: https://discourse.charmhub.io/t/charmed-postgresql-k8s-documenation/9307
source: https://github.com/canonical/postgresql-k8s-operator
issues: https://github.com/canonical/postgresql-k8s-operator/issues
website:
- https://ubuntu.com/data/postgresql
- https://charmhub.io/postgresql-k8s
- https://github.com/canonical/postgresql-k8s-operator
- https://chat.charmhub.io/charmhub/channels/data-platform
maintainers:
- Canonical Data Platform <[email protected]>
containers:
postgresql:
resource: postgresql-image
mounts:
- storage: pgdata
location: /var/lib/postgresql/data
resources:
postgresql-image:
type: oci-image
description: OCI image for PostgreSQL
upstream-source: ghcr.io/canonical/charmed-postgresql@sha256:3abdbc00413b065fbfea8c6a3aaad8e137790ebb3e7bf5e1f42e19cbc1861926 # renovate: oci-image tag: 14.13-22.04_edge
peers:
database-peers:
interface: postgresql_peers
restart:
interface: rolling_op
upgrade:
interface: upgrade
provides:
replication-offer:
interface: postgresql_async
limit: 1
optional: true
database:
interface: postgresql_client
db:
interface: pgsql
db-admin:
interface: pgsql
metrics-endpoint:
interface: prometheus_scrape
grafana-dashboard:
interface: grafana_dashboard
requires:
replication:
interface: postgresql_async
limit: 1
optional: true
certificates:
interface: tls-certificates
limit: 1
optional: true
s3-parameters:
interface: s3
limit: 1
optional: true
logging:
interface: loki_push_api
limit: 1
optional: true
tracing:
interface: tracing
limit: 1
optional: true
storage:
pgdata:
type: filesystem
location: /var/lib/postgresql/data
assumes:
- k8s-api
- any-of:
- all-of:
- juju >= 2.9.49
- juju < 3
- all-of:
- juju >= 3.4.3
- juju < 3.5
- all-of:
- juju >= 3.5.1
- juju < 4