mirror of
https://github.com/truenas/charts.git
synced 2026-04-28 20:42:23 +08:00
* init commit * add deployments * more config * syntax err * syntax err * add missing func * naming * lint * fix yaml * yaml * ci vals * ci port * perms * wrong pod * hmm * meh * no nginx without cert * db stuf * simplify * add nots * fixes * add todo * storage * test https * perms * actually mount the config * add some configs * update values * fsgroup * cmaps * update config * init quests * more test vals * more questions * nginx conf * cron * fix cron * meta * typo * additional storage goes to cron too * data and html * config * ui * values * fix * add backwards compat * make templ * use var * init migration * make exec * add todo * handle hostpaths too * update storage for backwards * typo * add redis * cleaner storage solution * br * rm * some cleanup * backup * whops * fsgroup * fix db script * bump image * remove test * test * todo * try this * lets try a hack * hmm * nope * eof * ofc * hmm * fix * explain the hack * update vers * remove todo * fix html storage * backwards compat
38 lines
923 B
Smarty
38 lines
923 B
Smarty
{{- define "nextcloud.cron" -}}
|
|
workload:
|
|
nextcloud-cron:
|
|
enabled: true
|
|
type: CronJob
|
|
schedule: {{ .Values.ncConfig.cron.schedule | quote }}
|
|
concurrencyPolicy: Forbid
|
|
podSpec:
|
|
restartPolicy: Never
|
|
hostNetwork: false
|
|
securityContext:
|
|
fsGroup: 33
|
|
containers:
|
|
nextcloud-cron:
|
|
enabled: true
|
|
primary: true
|
|
imageSelector: image
|
|
securityContext:
|
|
runAsUser: 33
|
|
runAsGroup: 0
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
envFrom:
|
|
- secretRef:
|
|
name: nextcloud-creds
|
|
command:
|
|
- php
|
|
- -f
|
|
- /var/www/html/cron.php
|
|
probes:
|
|
liveness:
|
|
enabled: false
|
|
readiness:
|
|
enabled: false
|
|
startup:
|
|
enabled: false
|
|
{{- end -}}
|