2021-07-02 18:32:29 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/nextcloud
|
2021-07-02 18:32:29 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2022-05-04 21:06:49 +00:00
|
|
|
tag: v23.0.4@sha256:4eb01b0b4a09503f474315d6ecca6bc0d5e7e82861423fe146da3247b18f26dc
|
2021-07-02 18:32:29 +00:00
|
|
|
|
2021-09-26 18:05:21 +00:00
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
2021-09-10 18:10:04 +00:00
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
fsGroup: 33
|
|
|
|
|
2021-07-02 18:32:29 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-28 09:26:31 +00:00
|
|
|
port: 10020
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 80
|
2021-07-04 17:39:33 +00:00
|
|
|
hpb:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
hpb:
|
|
|
|
enabled: true
|
|
|
|
port: 7867
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 7867
|
2021-12-11 12:49:05 +00:00
|
|
|
secret:
|
2021-07-03 08:36:08 +00:00
|
|
|
NEXTCLOUD_ADMIN_USER: "admin"
|
|
|
|
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
|
2022-02-20 14:10:14 +00:00
|
|
|
|
2021-12-11 12:49:05 +00:00
|
|
|
env:
|
2021-07-03 09:52:03 +00:00
|
|
|
TRUSTED_PROXIES: "172.16.0.0/16"
|
2021-07-02 18:32:29 +00:00
|
|
|
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
|
2021-10-09 23:20:01 +00:00
|
|
|
key: plainporthost
|
2021-07-02 21:59:17 +00:00
|
|
|
REDIS_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: rediscreds
|
2021-11-12 19:59:00 +00:00
|
|
|
key: plainhost
|
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
|
2021-07-02 18:32:29 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
2021-07-04 14:46:10 +00:00
|
|
|
mountPath: "/var/www/html"
|
2022-02-20 14:10:14 +00:00
|
|
|
|
2021-07-02 18:32:29 +00:00
|
|
|
probes:
|
2021-07-02 21:59:17 +00:00
|
|
|
liveness:
|
2021-07-04 14:46:10 +00:00
|
|
|
custom: true
|
|
|
|
spec:
|
|
|
|
httpGet:
|
|
|
|
path: /status.php
|
|
|
|
port: 80
|
|
|
|
httpHeaders:
|
|
|
|
- name: Host
|
|
|
|
value: "test.fakedomain.dns"
|
2021-07-02 21:59:17 +00:00
|
|
|
|
|
|
|
readiness:
|
2021-07-04 14:46:10 +00:00
|
|
|
custom: true
|
|
|
|
spec:
|
|
|
|
httpGet:
|
|
|
|
path: /status.php
|
|
|
|
port: 80
|
|
|
|
httpHeaders:
|
|
|
|
- name: Host
|
|
|
|
value: "test.fakedomain.dns"
|
2021-07-02 21:59:17 +00:00
|
|
|
|
2021-07-02 18:32:29 +00:00
|
|
|
startup:
|
2021-07-04 14:46:10 +00:00
|
|
|
custom: true
|
|
|
|
spec:
|
|
|
|
httpGet:
|
|
|
|
path: /status.php
|
|
|
|
port: 80
|
|
|
|
httpHeaders:
|
|
|
|
- name: Host
|
|
|
|
value: "test.fakedomain.dns"
|
|
|
|
|
2021-07-02 18:32:29 +00:00
|
|
|
cronjob:
|
|
|
|
schedule: "*/5 * * * *"
|
|
|
|
annotations: {}
|
|
|
|
failedJobsHistoryLimit: 5
|
|
|
|
successfulJobsHistoryLimit: 2
|
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
2021-10-09 23:20:01 +00:00
|
|
|
existingSecret: "dbcreds"
|
2021-07-02 18:32:29 +00:00
|
|
|
postgresqlUsername: nextcloud
|
|
|
|
postgresqlDatabase: nextcloud
|
2021-08-12 12:55:05 +00:00
|
|
|
|
2021-07-02 18:32:29 +00:00
|
|
|
redis:
|
|
|
|
enabled: true
|
2021-11-12 19:59:00 +00:00
|
|
|
existingSecret: "rediscreds"
|