mirror of
https://github.com/truenas/charts.git
synced 2026-11-29 15:35:00 +00:00
This commit upgrades chia, photoprism, home-assistant, storj, nextcloud, emby catalog item(s).
22 lines
503 B
Smarty
22 lines
503 B
Smarty
{{/*
|
|
Enable host networking
|
|
*/}}
|
|
{{- define "hostNetworkingEnabled" -}}
|
|
{{- if or (lt (.Values.service.nodePort | int) 9000) (lt (.Values.service.farmerPort | int) 9000) -}}
|
|
{{- print "true" -}}
|
|
{{- else -}}
|
|
{{- print "false" -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{/*
|
|
Enable Node Port Service
|
|
*/}}
|
|
{{- define "enableService" -}}
|
|
{{- if or (ge (.Values.service.nodePort | int) 9000) (ge (.Values.service.farmerPort | int) 9000) -}}
|
|
{{- print "true" -}}
|
|
{{- else -}}
|
|
{{- print "false" -}}
|
|
{{- end -}}
|
|
{{- end -}}
|