-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcharmcraft.yaml
92 lines (77 loc) · 2.25 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
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
# This file configures Charmcraft.
# See https://juju.is/docs/sdk/charmcraft-config for guidance.
name: openfga-k8s
type: charm
title: OpenFGA
summary: A high-performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar.
description: |
A high-performance and flexible authorization/permission engine
built for developers and inspired by Google Zanzibar.
OpenFGA is designed to make it easy for developers to model
their application permissions and add and integrate fine-grained
authorization into their applications.
It allows in-memory data storage for quick development, as well
as pluggable database modules. It currently supports PostgreSQL
and MySQL.
It offers an HTTP API and a gRPC API. It has SDKs for
Node.js/JavaScript, GoLang, Python and .NET. Look in our
Community section for third-party SDKs and tools.
links:
documentation: https://discourse.charmhub.io/t/openfga-k8s-docs-index/13826
website: https://github.com/canonical/openfga-operator
source: https://github.com/canonical/openfga-operator
issues: https://github.com/canonical/openfga-operator/issues
peers:
peer:
interface: openfga-peer
provides:
openfga:
interface: openfga
grafana-dashboard:
interface: grafana_dashboard
metrics-endpoint:
interface: prometheus_scrape
requires:
http-ingress:
interface: ingress
limit: 1
grpc-ingress:
interface: ingress
limit: 1
database:
interface: postgresql_client
limit: 1
logging:
interface: loki_push_api
optional: true
limit: 1
containers:
openfga:
resource: oci-image
resources:
oci-image:
type: oci-image
description: OCI image for OpenFGA
upstream-source: ghcr.io/canonical/openfga:1.5.2
config:
options:
log-level:
description: |
Configures the log level of gunicorn.
Acceptable values are: "info", "debug", "warning", "error" and "critical"
default: "info"
type: string
actions:
schema-upgrade:
description: Upgrade the application database schema.
parts:
charm:
charm-python-packages:
- setuptools
charm-binary-python-packages:
- requests ~= 2.32
- jsonschema ~= 4.23
- lightkube
base: [email protected]
platforms:
amd64: