TrueChartsClone/charts/stable/nextcloud/values.yaml

189 lines
4.4 KiB
YAML
Raw Normal View History

# Default values for Bitwarden.
image:
2021-09-11 11:52:00 +00:00
repository: docker.io/nextcloud
pullPolicy: IfNotPresent
2021-09-11 12:55:26 +00:00
tag: 22.1.1@sha256:99d94124b2024c9f7f38dc12144a92bc0d68d110bcfd374169ebb7e8df0adf8e
podSecurityContext:
runAsUser: 0
runAsGroup: 0
fsGroup: 33
supplementalGroups: []
fsGroupChangePolicy: "OnRootMismatch"
postgresqlImage:
repository: bitnami/postgresql
pullPolicy: IfNotPresent
tag: 13.4.0@sha256:0fa00d56daee4ab334e0b5aeabfb8674aadc501e498ca13feac5b5fdced4bcba
service:
main:
ports:
main:
port: 80
hpb:
enabled: true
ports:
hpb:
enabled: true
port: 7867
env:
NEXTCLOUD_ADMIN_USER: "admin"
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
TRUSTED_PROXIES: "172.16.0.0/16"
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
2021-07-02 21:59:17 +00:00
REDIS_HOST:
secretKeyRef:
name: rediscreds
key: masterhost
2021-07-02 22:03:03 +00:00
REDIS_HOST_PASSWORD:
2021-07-02 21:59:17 +00:00
secretKeyRef:
name: rediscreds
key: redis-password
persistence:
data:
enabled: true
mountPath: "/var/www/html"
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
redismaster:
noMount: true
forceName: "redismaster"
enabled: true
type: pvc
accessMode: ReadWriteOnce
size: "100Gi"
2021-07-02 21:59:17 +00:00
initContainers:
init-postgresdb:
image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}"
2021-07-02 21:59:17 +00:00
command:
- "sh"
- "-c"
- "until pg_isready -U nextcloud -h ${pghost} ; do sleep 2 ; done"
2021-07-02 21:59:17 +00:00
imagePullPolicy: IfNotPresent
env:
- name: pghost
valueFrom:
secretKeyRef:
name: dbcreds
key: plainhost
2021-07-02 21:59:17 +00:00
# -- Probe configuration
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
# @default -- See below
probes:
2021-07-02 21:59:17 +00:00
# -- Liveness probe configuration
# @default -- See below
liveness:
custom: true
2021-07-02 21:59:17 +00:00
# -- If a HTTP probe is used (default for HTTP/HTTPS services) this path is used
# @default -- "/"
spec:
httpGet:
path: /status.php
port: 80
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 2
failureThreshold: 5
2021-07-02 21:59:17 +00:00
# -- Redainess probe configuration
# @default -- See below
readiness:
custom: true
2021-07-02 21:59:17 +00:00
# -- If a HTTP probe is used (default for HTTP/HTTPS services) this path is used
# @default -- "/"
spec:
httpGet:
path: /status.php
port: 80
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 2
failureThreshold: 5
2021-07-02 21:59:17 +00:00
# -- Startup probe configuration
# @default -- See below
startup:
custom: true
2021-07-02 21:59:17 +00:00
# -- If a HTTP probe is used (default for HTTP/HTTPS services) this path is used
# @default -- "/"
spec:
httpGet:
path: /status.php
port: 80
httpHeaders:
- name: Host
value: "test.fakedomain.dns"
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 2
failureThreshold: 5
## 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
postgresql:
enabled: true
postgresqlUsername: nextcloud
postgresqlDatabase: nextcloud
existingSecret: dbcreds
# Enabled redis
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/redis
redis:
volumePermissions:
enabled: true
architecture: standalone
enabled: true
auth:
existingSecret: rediscreds
existingSecretPasswordKey: redis-password
master:
persistence:
enabled: false
existingClaim: redismaster
replica:
replicaCount: 0
persistence:
enabled: false