110 lines
2.0 KiB
YAML
110 lines
2.0 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/nextcloud
|
|
pullPolicy: IfNotPresent
|
|
tag: v23.0.3@sha256:00d4d935dbb96e30b3927f73f91616b09cb67e951b95ec798aa5c58fb4c967c2
|
|
|
|
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
|
|
secret:
|
|
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 }}"
|
|
|
|
envFrom:
|
|
- configMapRef:
|
|
name: nextcloudconfig
|
|
|
|
envValueFrom:
|
|
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
|
|
|
|
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"
|