Skip to content

Commit 9674ee3

Browse files
committed
chore(nextcloud): some values in metrics
Signed-off-by: WrenIX <dev.github@wrenix.eu>
1 parent 82ebc93 commit 9674ee3

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

charts/nextcloud/README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ A file sharing server that puts the control and security of your own data back i
3030

3131
## Values
3232

33+
### Metrics
34+
35+
| Key | Type | Default | Description |
36+
|-----|------|---------|-------------|
37+
| metrics.enabled | bool | `false` | Setup nextcloud-exporter |
38+
| metrics.https | bool | `false` | The metrics exporter needs to know how you serve Nextcloud either http or https |
39+
| metrics.replicaCount | int | `1` | relica count of nextcloud-exporter |
40+
| metrics.server | string | `""` | Optional: becomes NEXTCLOUD_SERVER env var in the nextcloud-exporter container. Without it, we will use the full name of the nextcloud service |
41+
42+
### Other Values
43+
3344
| Key | Type | Default | Description |
3445
|-----|------|---------|-------------|
3546
| affinity | object | `{}` | |
@@ -85,8 +96,6 @@ A file sharing server that puts the control and security of your own data back i
8596
| mariadb.primary.persistence.size | string | `"8Gi"` | |
8697
| mariadb.primary.persistence.storageClass | string | `""` | |
8798
| metrics.affinity | object | `{}` | Metrics exporter pod affinity |
88-
| metrics.enabled | bool | `false` | |
89-
| metrics.https | bool | `false` | |
9099
| metrics.image.pullPolicy | string | `"IfNotPresent"` | |
91100
| metrics.image.repository | string | `"xperimental/nextcloud-exporter"` | |
92101
| metrics.image.tag | string | `"0.6.2"` | |
@@ -95,10 +104,8 @@ A file sharing server that puts the control and security of your own data back i
95104
| metrics.podAnnotations | object | `{}` | Metrics exporter pod Annotation |
96105
| metrics.podLabels | object | `{}` | Metrics exporter pod Labels |
97106
| metrics.podSecurityContext | object | `{}` | security context for the metrics POD |
98-
| metrics.replicaCount | int | `1` | |
99107
| metrics.resources | object | `{}` | |
100108
| metrics.securityContext | object | `{"runAsNonRoot":true,"runAsUser":1000}` | security context for the metrics CONTAINER in the pod |
101-
| metrics.server | string | `""` | |
102109
| metrics.service.annotations."prometheus.io/port" | string | `"9205"` | |
103110
| metrics.service.annotations."prometheus.io/scrape" | string | `"true"` | |
104111
| metrics.service.labels | object | `{}` | |

charts/nextcloud/values.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,13 +603,19 @@ dnsConfig: {}
603603
## Prometheus Exporter / Metrics
604604
##
605605
metrics:
606+
# -- Setup nextcloud-exporter
607+
# @section -- Metrics
606608
enabled: false
607609

610+
# -- relica count of nextcloud-exporter
611+
# @section -- Metrics
608612
replicaCount: 1
609-
# Optional: becomes NEXTCLOUD_SERVER env var in the nextcloud-exporter container.
613+
# -- Optional: becomes NEXTCLOUD_SERVER env var in the nextcloud-exporter container.
610614
# Without it, we will use the full name of the nextcloud service
615+
# @section -- Metrics
611616
server: ""
612-
# The metrics exporter needs to know how you serve Nextcloud either http or https
617+
# -- The metrics exporter needs to know how you serve Nextcloud either http or https
618+
# @section -- Metrics
613619
https: false
614620
# Use API token if set, otherwise fall back to password authentication
615621
# https://github.com/xperimental/nextcloud-exporter#token-authentication

0 commit comments

Comments
 (0)