-
Notifications
You must be signed in to change notification settings - Fork 0
/
charmcraft.yaml
108 lines (96 loc) · 2.46 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# This file configures Charmcraft.
# See https://juju.is/docs/sdk/charmcraft-config for guidance.
name: glauth-k8s
type: charm
description: |
Kubernetes Charmed Glauth Operator
summary: |
LDAP authentication provider
links:
documentation: https://discourse.charmhub.io/t/13946
source: https://github.com/canonical/glauth-k8s-operator
issues: https://github.com/canonical/glauth-k8s-operator/issues
containers:
glauth:
resource: oci-image
resources:
oci-image:
type: oci-image
description: GLAuth oci-image
upstream-source: ghcr.io/canonical/glauth:2.3.1
requires:
pg-database:
interface: postgresql_client
optional: false
limit: 1
logging:
interface: loki_push_api
optional: true
certificates:
interface: tls-certificates
limit: 1
optional: true
ldap-client:
description: |
Use another ldap server as a backend
interface: ldap
provides:
metrics-endpoint:
description: |
Provides application metrics to COS Prometheus instance.
interface: prometheus_scrape
grafana-dashboard:
description: |
Forwards the built-in grafana dashboard(s) for monitoring GLAuth.
interface: grafana_dashboard
ldap:
description: |
Provides LDAP configuration data
interface: ldap
glauth-auxiliary:
description: |
Provides auxiliary data for glauth-utils charmed operator.
interface: glauth_auxiliary
send-ca-cert:
description: |
Transfer certificates to client charmed operators.
interface: certificate_transfer
config:
options:
log_level:
description: |
Configures the log level.
Acceptable values are: "info", "debug", "warning", "error" and "critical"
default: "info"
type: string
base_dn:
description: The base DN
default: "dc=glauth,dc=com"
type: string
hostname:
description: |
The hostname of the LDAP server.
The hostname should NOT contain the LDAP scheme (e.g. ldap://) and port.
default: "ldap.glauth.com"
type: string
starttls_enabled:
description: |
Enable the StartTLS support or not. DO NOT TURN IT OFF IN PRODUCTION.
default: true
type: boolean
bases:
- build-on:
- name: ubuntu
channel: "22.04"
run-on:
- name: ubuntu
channel: "22.04"
parts:
charm:
charm-binary-python-packages:
- jsonschema
- cryptography
- psycopg[binary]
build-packages:
- rustc
- cargo