Skip to content

Commit

Permalink
chore(nextcloud): some values in metrics
Browse files Browse the repository at this point in the history
Signed-off-by: WrenIX <[email protected]>
  • Loading branch information
wrenix committed Sep 21, 2024
1 parent 82ebc93 commit 9674ee3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
15 changes: 11 additions & 4 deletions charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ A file sharing server that puts the control and security of your own data back i

## Values

### Metrics

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| metrics.enabled | bool | `false` | Setup nextcloud-exporter |
| metrics.https | bool | `false` | The metrics exporter needs to know how you serve Nextcloud either http or https |
| metrics.replicaCount | int | `1` | relica count of nextcloud-exporter |
| 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 |

### Other Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
Expand Down Expand Up @@ -85,8 +96,6 @@ A file sharing server that puts the control and security of your own data back i
| mariadb.primary.persistence.size | string | `"8Gi"` | |
| mariadb.primary.persistence.storageClass | string | `""` | |
| metrics.affinity | object | `{}` | Metrics exporter pod affinity |
| metrics.enabled | bool | `false` | |
| metrics.https | bool | `false` | |
| metrics.image.pullPolicy | string | `"IfNotPresent"` | |
| metrics.image.repository | string | `"xperimental/nextcloud-exporter"` | |
| metrics.image.tag | string | `"0.6.2"` | |
Expand All @@ -95,10 +104,8 @@ A file sharing server that puts the control and security of your own data back i
| metrics.podAnnotations | object | `{}` | Metrics exporter pod Annotation |
| metrics.podLabels | object | `{}` | Metrics exporter pod Labels |
| metrics.podSecurityContext | object | `{}` | security context for the metrics POD |
| metrics.replicaCount | int | `1` | |
| metrics.resources | object | `{}` | |
| metrics.securityContext | object | `{"runAsNonRoot":true,"runAsUser":1000}` | security context for the metrics CONTAINER in the pod |
| metrics.server | string | `""` | |
| metrics.service.annotations."prometheus.io/port" | string | `"9205"` | |
| metrics.service.annotations."prometheus.io/scrape" | string | `"true"` | |
| metrics.service.labels | object | `{}` | |
Expand Down
10 changes: 8 additions & 2 deletions charts/nextcloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -603,13 +603,19 @@ dnsConfig: {}
## Prometheus Exporter / Metrics
##
metrics:
# -- Setup nextcloud-exporter
# @section -- Metrics
enabled: false

# -- relica count of nextcloud-exporter
# @section -- Metrics
replicaCount: 1
# Optional: becomes NEXTCLOUD_SERVER env var in the nextcloud-exporter container.
# -- Optional: becomes NEXTCLOUD_SERVER env var in the nextcloud-exporter container.
# Without it, we will use the full name of the nextcloud service
# @section -- Metrics
server: ""
# The metrics exporter needs to know how you serve Nextcloud either http or https
# -- The metrics exporter needs to know how you serve Nextcloud either http or https
# @section -- Metrics
https: false
# Use API token if set, otherwise fall back to password authentication
# https://github.com/xperimental/nextcloud-exporter#token-authentication
Expand Down

0 comments on commit 9674ee3

Please sign in to comment.