mirror of
https://github.com/truenas/charts.git
synced 2026-11-25 07:22:02 +00:00
Allow configuring node port for collabora
This commit is contained in:
1 parent
a10c6e92fd
commit
23970aec44
3 files changed
+21
-4
No files matched your search
@@ -1,10 +1,12 @@
|
|||||||
groups:
|
groups:
|
||||||
- name: "Collabora Configuration"
|
- name: "Collabora Configuration"
|
||||||
description: "Configure Collabora"
|
description: "Configure Collabora"
|
||||||
- name: "Storage"
|
|
||||||
description: "Configure Storage for Collabora"
|
|
||||||
- name: "Collabora Environment Variables"
|
- name: "Collabora Environment Variables"
|
||||||
description: "Set the environment that will be visible to the container"
|
description: "Set the environment that will be visible to the container"
|
||||||
|
- name: "Networking"
|
||||||
|
description: "Configure Networking for Collabora"
|
||||||
|
- name: "Storage"
|
||||||
|
description: "Configure Storage for Collabora"
|
||||||
|
|
||||||
portals:
|
portals:
|
||||||
web_portal:
|
web_portal:
|
||||||
@@ -13,7 +15,7 @@ portals:
|
|||||||
host:
|
host:
|
||||||
- "$node_ip"
|
- "$node_ip"
|
||||||
ports:
|
ports:
|
||||||
- "9980"
|
- "$variable-nodePort"
|
||||||
path: "/loleaflet/dist/admin/admin.html"
|
path: "/loleaflet/dist/admin/admin.html"
|
||||||
|
|
||||||
questions:
|
questions:
|
||||||
@@ -127,3 +129,12 @@ questions:
|
|||||||
label: "Value"
|
label: "Value"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
- variable: nodePort
|
||||||
|
label: "Node Port to use for Collabora"
|
||||||
|
group: "Networking"
|
||||||
|
schema:
|
||||||
|
type: int
|
||||||
|
default: 9980
|
||||||
|
min: 9000
|
||||||
|
max: 65535
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{{ $port := .Values.nodePort }}
|
||||||
|
{{ $ports := list }}
|
||||||
|
{{ $ports = mustAppend $ports (dict "name" "collabora" "port" $port "nodePort" $port "targetPort" "collabora") }}
|
||||||
|
{{ $params := . }}
|
||||||
|
{{ $_ := set $params "commonService" (dict "ports" $ports "type" "NodePort" ) }}
|
||||||
|
{{ include "common.classes.service" $params }}
|
||||||
@@ -12,4 +12,4 @@ config:
|
|||||||
extra_params: "--o:welcome.enable=false --o:user_interface.mode=notebookbar --o:ssl.termination=true --o:ssl.enable=false"
|
extra_params: "--o:welcome.enable=false --o:user_interface.mode=notebookbar --o:ssl.termination=true --o:ssl.enable=false"
|
||||||
DONT_GEN_SSL_CERT: "true"
|
DONT_GEN_SSL_CERT: "true"
|
||||||
server_name: "collabora"
|
server_name: "collabora"
|
||||||
|
nodePort: 32980
|
||||||
Reference in new issue
Block a user