110 lines
2.0 KiB
YAML
110 lines
2.0 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/nextcloud
|
|
pullPolicy: IfNotPresent
|
|
tag: v23.0.2@sha256:a2b897413098ea9a54ab9308c9c645e96189a496a89550be249089f7853c8ed3
|
|
|
|
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"
|