You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Helm chart to install a Mercure Hub in a Kubernetes cluster. Mercure is a protocol to push data updates to web browsers and other HTTP clients in a convenient, fast, reliable and battery-efficient way.
7
7
@@ -25,6 +25,7 @@ To install the chart with the release name `my-release`, run the following comma
25
25
| dev | bool |`false`| Enable the development mode, including the debug UI and the demo. |
26
26
| existingSecret | string |`""`| Allows to pass an existing secret name, the above values will be used if empty. |
27
27
| extraDirectives | string |`""`| Inject extra Mercure directives in the Caddyfile. |
28
+
| extraEnvs | list |`[]`| Additional environment variables to set |
28
29
| fullnameOverride | string |`""`| A name to substitute for the full names of resources. |
29
30
| globalOptions | string |`""`| Inject global options in the Caddyfile. |
30
31
| image.pullPolicy | string |`"IfNotPresent"`|[Image pull policy](https://kubernetes.io/docs/concepts/containers/images/#updating-images) for updating already existing images on a node. |
@@ -37,6 +38,14 @@ To install the chart with the release name `my-release`, run the following comma
37
38
| ingress.hosts | list | See [values.yaml](values.yaml). | Ingress host configuration. |
38
39
| ingress.tls | list | See [values.yaml](values.yaml). | Ingress TLS configuration. |
39
40
| license | string |`""`| The license key for [the High Availability version](https://mercure.rocks/docs/hub/cluster) (not necessary is you use the FOSS version). |
41
+
| metrics.enabled | bool |`false`| Enable metrics. You must also add a `servers` block with a [`metrics` directive](https://caddyserver.com/docs/caddyfile/options#metrics) in the `globalOptions` value. servers { metrics } |
42
+
| metrics.port | int |`2019`| The port to use for exposing the metrics. |
43
+
| metrics.serviceMonitor.enabled | bool |`false`| Whether to create a ServiceMonitor for Prometheus Operator. |
44
+
| metrics.serviceMonitor.honorLabels | bool |`false`| Specify honorLabels parameter to add the scrape endpoint |
45
+
| metrics.serviceMonitor.interval | string |`"15s"`| The interval to use for the ServiceMonitor to scrape the metrics. |
46
+
| metrics.serviceMonitor.relabelings | list |`[]`| RelabelConfigs to apply to samples before scraping |
47
+
| metrics.serviceMonitor.scrapeTimeout | string |`""`| Timeout after which the scrape is ended |
48
+
| metrics.serviceMonitor.selector | object |`{}`| Additional labels that can be used so ServiceMonitor will be discovered by Prometheus |
40
49
| nameOverride | string |`""`| A name in place of the chart name for `app:` labels. |
| persistence | object |`{"accessMode":"ReadWriteOnce","enabled":false,"existingClaim":"","size":"1Gi","storageClass":""}`| Enable persistence using [Persistent Volume Claims](http://kubernetes.io/docs/user-guide/persistent-volumes/), only useful if you the BoltDB transport. |
@@ -51,8 +60,8 @@ To install the chart with the release name `my-release`, run the following comma
51
60
| resources | object | No requests or limits. | Container resource [requests and limits](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/). See the [API reference](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#resources) for details. |
52
61
| securityContext | object |`{}`| Container [security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container). See the [API reference](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#security-context-1) for details. |
53
62
| service.annotations | object |`{}`||
63
+
| service.nodePort | string |`nil`| Set this, to pin the external nodePort in case `service.type` is `NodePort`. |
54
64
| service.port | int |`80`| Service port. |
55
-
| service.nodePort | int | 0 | The exposed nodePort. Required when `service.type` is [`"NodePort"`](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport). |
56
65
| service.targetPort | int |`80`| Service target port. |
| serviceAccount.annotations | object |`{}`| Annotations to add to the service account. |
@@ -61,5 +70,5 @@ To install the chart with the release name `my-release`, run the following comma
61
70
| subscriberJwtAlg | string |`"HS256"`| The JWT algorithm to use for subscribers. |
62
71
| subscriberJwtKey | string |`""`| The JWT key to use for subscribers, a random key will be generated if empty. |
63
72
| tolerations | list |`[]`|[Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) for node taints. See the [API reference](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling) for details. |
64
-
| transportUrl | string |`"bolt:///data/mercure.db"`| The URL representation of the transport to use. |
73
+
| transportUrl | string |`""`| Deprecated: The URL representation of the transport to use. |
0 commit comments