chore(nextcloud): clrearly indicate values that used only on first install (#1909)
* chore(nextcloud): clrearly indicate values that used only on first install * cleanup values
This commit is contained in:
parent
dc5f424520
commit
570baae023
|
@ -105,13 +105,13 @@ questions:
|
||||||
attrs:
|
attrs:
|
||||||
# Include{fixedEnv}
|
# Include{fixedEnv}
|
||||||
- variable: TRUSTED_PROXIES
|
- variable: TRUSTED_PROXIES
|
||||||
label: "Trusted Proxies (Advanced)"
|
label: "Trusted Proxies (First Install Only - Advanced)"
|
||||||
description: "Sets nextcloud Trusted Proxies"
|
description: "Sets nextcloud Trusted Proxies"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "172.16.0.0/16"
|
default: "172.16.0.0/16"
|
||||||
- variable: NODE_IP
|
- variable: NODE_IP
|
||||||
label: "NODE_IP"
|
label: "NODE_IP (First Install Only)"
|
||||||
description: "Sets nextcloud nodeip for nodeport connections (Ensure this is correct at first install!)"
|
description: "Sets nextcloud nodeip for nodeport connections (Ensure this is correct at first install!)"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -28,6 +28,7 @@ service:
|
||||||
secret:
|
secret:
|
||||||
NEXTCLOUD_ADMIN_USER: "admin"
|
NEXTCLOUD_ADMIN_USER: "admin"
|
||||||
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
|
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TRUSTED_PROXIES: "172.16.0.0/16"
|
TRUSTED_PROXIES: "172.16.0.0/16"
|
||||||
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
|
@ -59,16 +60,10 @@ persistence:
|
||||||
data:
|
data:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/var/www/html"
|
mountPath: "/var/www/html"
|
||||||
# -- Probe configuration
|
|
||||||
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
|
|
||||||
# @default -- See below
|
|
||||||
probes:
|
probes:
|
||||||
# -- Liveness probe configuration
|
|
||||||
# @default -- See below
|
|
||||||
liveness:
|
liveness:
|
||||||
custom: true
|
custom: true
|
||||||
# -- If a HTTP probe is used (default for HTTP/HTTPS services) this path is used
|
|
||||||
# @default -- "/"
|
|
||||||
spec:
|
spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /status.php
|
path: /status.php
|
||||||
|
@ -77,12 +72,8 @@ probes:
|
||||||
- name: Host
|
- name: Host
|
||||||
value: "test.fakedomain.dns"
|
value: "test.fakedomain.dns"
|
||||||
|
|
||||||
# -- Redainess probe configuration
|
|
||||||
# @default -- See below
|
|
||||||
readiness:
|
readiness:
|
||||||
custom: true
|
custom: true
|
||||||
# -- If a HTTP probe is used (default for HTTP/HTTPS services) this path is used
|
|
||||||
# @default -- "/"
|
|
||||||
spec:
|
spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /status.php
|
path: /status.php
|
||||||
|
@ -91,12 +82,8 @@ probes:
|
||||||
- name: Host
|
- name: Host
|
||||||
value: "test.fakedomain.dns"
|
value: "test.fakedomain.dns"
|
||||||
|
|
||||||
# -- Startup probe configuration
|
|
||||||
# @default -- See below
|
|
||||||
startup:
|
startup:
|
||||||
custom: true
|
custom: true
|
||||||
# -- If a HTTP probe is used (default for HTTP/HTTPS services) this path is used
|
|
||||||
# @default -- "/"
|
|
||||||
spec:
|
spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /status.php
|
path: /status.php
|
||||||
|
@ -105,27 +92,18 @@ probes:
|
||||||
- name: Host
|
- name: Host
|
||||||
value: "test.fakedomain.dns"
|
value: "test.fakedomain.dns"
|
||||||
|
|
||||||
## Cronjob to execute Nextcloud background tasks
|
|
||||||
## ref: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#webcron
|
|
||||||
##
|
|
||||||
cronjob:
|
cronjob:
|
||||||
# Every 5 minutes
|
|
||||||
# Note: Setting this to any any other value than 5 minutes might
|
|
||||||
# cause issues with how nextcloud background jobs are executed
|
|
||||||
schedule: "*/5 * * * *"
|
schedule: "*/5 * * * *"
|
||||||
annotations: {}
|
annotations: {}
|
||||||
failedJobsHistoryLimit: 5
|
failedJobsHistoryLimit: 5
|
||||||
successfulJobsHistoryLimit: 2
|
successfulJobsHistoryLimit: 2
|
||||||
|
|
||||||
# Enabled postgres
|
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
existingSecret: "dbcreds"
|
existingSecret: "dbcreds"
|
||||||
postgresqlUsername: nextcloud
|
postgresqlUsername: nextcloud
|
||||||
postgresqlDatabase: nextcloud
|
postgresqlDatabase: nextcloud
|
||||||
|
|
||||||
# Enabled redis
|
|
||||||
# ... for more options see https://github.com/tccr.io/truecharts/charts/tree/master/tccr.io/truecharts/redis
|
|
||||||
redis:
|
redis:
|
||||||
enabled: true
|
enabled: true
|
||||||
existingSecret: "rediscreds"
|
existingSecret: "rediscreds"
|
||||||
|
|
Loading…
Reference in New Issue