mirror of
https://github.com/truenas/charts.git
synced 2026-04-29 21:13:21 +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
50 lines
1.2 KiB
Smarty
50 lines
1.2 KiB
Smarty
{{- define "nextcloud.service" -}}
|
|
service:
|
|
nextcloud:
|
|
enabled: true
|
|
primary: true
|
|
{{- if not .Values.ncNetwork.certificateID }}
|
|
type: NodePort
|
|
{{- else }}
|
|
type: ClusterIP
|
|
{{- end }}
|
|
targetSelector: nextcloud
|
|
ports:
|
|
webui:
|
|
enabled: true
|
|
primary: true
|
|
{{- if not .Values.ncNetwork.certificateID }}
|
|
nodePort: {{ .Values.ncNetwork.webPort }}
|
|
{{- end }}
|
|
port: 80
|
|
targetPort: 80
|
|
targetSelector: nextcloud
|
|
{{- if .Values.ncNetwork.certificateID }}
|
|
nextcloud-nginx:
|
|
enabled: true
|
|
type: NodePort
|
|
targetSelector: nginx
|
|
ports:
|
|
webui-tls:
|
|
enabled: true
|
|
port: {{ .Values.ncNetwork.webPort }}
|
|
nodePort: {{ .Values.ncNetwork.webPort }}
|
|
targetPort: {{ .Values.ncNetwork.webPort }}
|
|
targetSelector: nginx
|
|
{{- end }}
|
|
|
|
# Redis
|
|
redis:
|
|
enabled: true
|
|
type: ClusterIP
|
|
targetSelector: redis
|
|
ports:
|
|
redis:
|
|
enabled: true
|
|
primary: true
|
|
port: 6379
|
|
targetPort: 6379
|
|
targetSelector: redis
|
|
{{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
|
|
{{- end -}}
|