mirror of
https://github.com/truenas/charts.git
synced 2026-04-27 20:13:21 +08:00
* init commit * add `passbolt` to `community` train * roofs * mount var run * probes * try init user * fix app url * add metadata * remove init user * add questions and revert to user 33 * plump hostnet and add hostnet values for ci * fix perms and UI
32 lines
720 B
Smarty
32 lines
720 B
Smarty
{{- define "passbolt.service" -}}
|
|
{{- $port := 8080 -}}
|
|
{{- if .Values.passboltNetwork.certificateID -}}
|
|
{{- $port = 4433 -}}
|
|
{{- end }}
|
|
service:
|
|
passbolt:
|
|
enabled: true
|
|
primary: true
|
|
type: NodePort
|
|
targetSelector: passbolt
|
|
ports:
|
|
webui:
|
|
enabled: true
|
|
primary: true
|
|
port: {{ .Values.passboltNetwork.webPort }}
|
|
nodePort: {{ .Values.passboltNetwork.webPort }}
|
|
targetPort: {{ $port }}
|
|
targetSelector: passbolt
|
|
mariadb:
|
|
enabled: true
|
|
type: ClusterIP
|
|
targetSelector: mariadb
|
|
ports:
|
|
mariadb:
|
|
enabled: true
|
|
primary: true
|
|
port: 3306
|
|
targetPort: 3306
|
|
targetSelector: mariadb
|
|
{{- end -}}
|