mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 13:59:51 +08:00
37 lines
1.1 KiB
Smarty
37 lines
1.1 KiB
Smarty
{{- define "unifi.service" -}}
|
|
service:
|
|
unifi:
|
|
enabled: true
|
|
primary: true
|
|
type: NodePort
|
|
targetSelector: unifi
|
|
ports:
|
|
web-https:
|
|
enabled: true
|
|
primary: true
|
|
port: {{ .Values.unifiNetwork.webHttpsPort }}
|
|
nodePort: {{ .Values.unifiNetwork.webHttpsPort }}
|
|
targetSelector: unifi
|
|
web-http:
|
|
enabled: {{ .Values.unifiNetwork.enableWebHttp }}
|
|
port: {{ .Values.unifiNetwork.webHttpPort }}
|
|
nodePort: {{ .Values.unifiNetwork.webHttpPort }}
|
|
targetSelector: unifi
|
|
unifi-portal:
|
|
enabled: true
|
|
type: NodePort
|
|
targetSelector: unifi
|
|
ports:
|
|
portal-https:
|
|
enabled: true
|
|
primary: true
|
|
port: {{ .Values.unifiNetwork.portalHttpsPort }}
|
|
nodePort: {{ .Values.unifiNetwork.portalHttpsPort }}
|
|
targetSelector: unifi
|
|
portal-http:
|
|
enabled: {{ .Values.unifiNetwork.enablePortalHttp }}
|
|
port: {{ .Values.unifiNetwork.portalHttpPort }}
|
|
nodePort: {{ .Values.unifiNetwork.portalHttpPort }}
|
|
targetSelector: unifi
|
|
{{- end -}}
|