108 lines
2.0 KiB
YAML
108 lines
2.0 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/nextcloud
|
|
pullPolicy: IfNotPresent
|
|
tag: v24.0.1@sha256:794fca215489cc078013d8776df67b0e5666f872dc1b3ed1f3440e7ddab5b41d
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
fsGroup: 33
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10020
|
|
targetPort: 80
|
|
hpb:
|
|
enabled: true
|
|
ports:
|
|
hpb:
|
|
enabled: true
|
|
port: 7867
|
|
targetPort: 7867
|
|
secretEnv:
|
|
NEXTCLOUD_ADMIN_USER: "admin"
|
|
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
|
|
|
|
env:
|
|
TRUSTED_PROXIES: "172.16.0.0/16"
|
|
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
POSTGRES_PASSWORD:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: postgresql-password
|
|
POSTGRES_HOST:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: plainporthost
|
|
REDIS_HOST:
|
|
secretKeyRef:
|
|
name: rediscreds
|
|
key: plainhost
|
|
REDIS_HOST_PASSWORD:
|
|
secretKeyRef:
|
|
name: rediscreds
|
|
key: redis-password
|
|
|
|
envFrom:
|
|
- configMapRef:
|
|
name: nextcloudconfig
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/var/www/html"
|
|
|
|
probes:
|
|
liveness:
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /status.php
|
|
port: 80
|
|
httpHeaders:
|
|
- name: Host
|
|
value: "test.fakedomain.dns"
|
|
|
|
readiness:
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /status.php
|
|
port: 80
|
|
httpHeaders:
|
|
- name: Host
|
|
value: "test.fakedomain.dns"
|
|
|
|
startup:
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /status.php
|
|
port: 80
|
|
httpHeaders:
|
|
- name: Host
|
|
value: "test.fakedomain.dns"
|
|
|
|
cronjob:
|
|
schedule: "*/5 * * * *"
|
|
annotations: {}
|
|
failedJobsHistoryLimit: 5
|
|
successfulJobsHistoryLimit: 2
|
|
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: "dbcreds"
|
|
postgresqlUsername: nextcloud
|
|
postgresqlDatabase: nextcloud
|
|
|
|
redis:
|
|
enabled: true
|
|
existingSecret: "rediscreds"
|