Files
truecharts/charts/develop/nextcloud/values.yaml
Kjeld Schouten-Lebbing 4d29da99f6 initial nextcloud PoC (#645)
* initial nextcloud PoC

* add questions to set nextcloud default admin username and password

* cleanup a bit

* shuffle a bit

* port recent changes it ix_values.yaml

* fix port numbers

* add readmeshizzle

* fixup postgresql host

* add initial redis code (disabled for now)

* fixup comment

* disable postgresql persistent during testing

* spawn redis container

* maybe admin shouldn't be used as a testname

* set fsgroup to 33

* redis whoopsie

* setup seperate redis secret

* fixup redis host references to deal with masters and slaves

* set redis to standalone

* try without admin username and password being set

* no use for standalone mode

* append port to postgress

* Simplify redis deployment and fix redis persistence

* up redis version

* longer startup probe

* try port 80

* trigger test

* add configmap for trusted host generation

* add configmap

* fix configmap

* add cronjob

* add more cronjob config to values.yaml

* more end?

* end tweeaks

* cronjob cleanup

* remove currently unused shizzle from cronjob
2021-07-02 20:32:29 +02:00

120 lines
2.4 KiB
YAML

# Default values for Bitwarden.
image:
repository: nextcloud
pullPolicy: IfNotPresent
tag: 21.0.2
strategy:
type: Recreate
service:
main:
ports:
main:
port: 80
env: {}
envTpl:
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
envFrom:
- configMapRef:
name: nextcloudconfig
envValueFrom:
POSTGRES_PASSWORD:
secretKeyRef:
name: dbcreds
key: postgresql-password
POSTGRES_HOST:
secretKeyRef:
name: dbcreds
key: host
# REDIS_HOST:
# secretKeyRef:
# name: rediscreds
# key: masterhost
# REDIS_PASSWORD:
# secretKeyRef:
# name: rediscreds
# key: redis-password
persistence:
data:
enabled: true
mountPath: "/var/www"
type: emptyDir
db:
forceName: "db"
enabled: true
type: emptyDir
redismaster:
forceName: "redismaster"
enabled: true
type: emptyDir
dbbackup:
enabled: true
type: emptyDir
podSecurityContext:
fsGroup: 33
# test
probes:
startup:
spec:
initialDelaySeconds: 3
timeoutSeconds: 2
## This means it has a maximum of 10*60=600 seconds to start up before it fails
periodSeconds: 10
failureThreshold: 60
## Cronjob to execute Nextcloud background tasks
## ref: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#webcron
##
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 * * * *"
annotations: {}
failedJobsHistoryLimit: 5
successfulJobsHistoryLimit: 2
# Enabled postgres
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
postgresql:
enabled: true
postgresqlUsername: nextcloud
postgresqlDatabase: nextcloud
existingSecret: dbcreds
persistence:
enabled: false
existingClaim: db
# Enabled redis
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/redis
redis:
architecture: standalone
enabled: true
auth:
existingSecret: rediscreds
existingSecretPasswordKey: redis-password
master:
persistence:
enabled: false
existingClaim: redismaster
replica:
replicaCount: 0
persistence:
enabled: false