-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
30 lines (27 loc) · 1.26 KB
/
config.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
# This file defines charm config options, and populates the Configure tab on Charmhub.
# If your charm does not require configuration options, delete this file entirely.
#
# See https://juju.is/docs/config for guidance.
options:
# An example config option to customise the log level of the workload
log-level:
description: |
Configures the log level of gunicorn.
Acceptable values are: "info", "debug", "warning", "error" and "critical"
default: "info"
type: string
kafka-endpoint:
description: Host and port of Kafka in the format <host>:<port>
type: string
external-hostname:
type: string
default: ""
description: |
The url that will be configured in the Kubernetes ingress.
The easiest way of configuring the external-hostname without having the DNS setup is by using
a Wildcard DNS like nip.io constructing the url like so:
- kafka-exporter.127.0.0.1.nip.io (valid within the K8s cluster node)
- kafka-exporter.<k8s-worker-ip>.nip.io (valid from outside the K8s cluster node)
This option is only applicable when the Kubernetes cluster has nginx ingress configured
and the charm is related to the nginx-ingress-integrator.
See more: https://charmhub.io/nginx-ingress-integrator