fix(ztncui-aio): Fix some miss (#3306)
* add ztcuui-aio * space * readonly filesystem * Permission * add readme * add question * fix port * add env * fix some miss
This commit is contained in:
@@ -116,7 +116,7 @@ questions:
|
|||||||
description: "This port exposes the container port on the service"
|
description: "This port exposes the container port on the service"
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 4000
|
default: 10257
|
||||||
required: true
|
required: true
|
||||||
- variable: advanced
|
- variable: advanced
|
||||||
label: "Show Advanced settings"
|
label: "Show Advanced settings"
|
||||||
@@ -129,7 +129,7 @@ questions:
|
|||||||
label: "Port Type"
|
label: "Port Type"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "HTTP"
|
default: "HTTPS"
|
||||||
enum:
|
enum:
|
||||||
- value: HTTP
|
- value: HTTP
|
||||||
description: "HTTP"
|
description: "HTTP"
|
||||||
@@ -151,7 +151,7 @@ questions:
|
|||||||
description: "The internal(!) port on the container the Application runs on"
|
description: "The internal(!) port on the container the Application runs on"
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 4000
|
default: 10257
|
||||||
- variable: other
|
- variable: other
|
||||||
label: "other Service"
|
label: "other Service"
|
||||||
description: "other service"
|
description: "other service"
|
||||||
@@ -207,6 +207,61 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 3180
|
default: 3180
|
||||||
|
- variable: other2
|
||||||
|
label: "other Service"
|
||||||
|
description: "other service"
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
# Include{serviceSelector}
|
||||||
|
- variable: other2
|
||||||
|
label: "other Service Port Configuration"
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
- variable: port
|
||||||
|
label: "Port"
|
||||||
|
description: "This port exposes the container port on the service"
|
||||||
|
schema:
|
||||||
|
type: int
|
||||||
|
default: 9993
|
||||||
|
required: true
|
||||||
|
- variable: advanced
|
||||||
|
label: "Show Advanced settings"
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
show_subquestions_if: true
|
||||||
|
subquestions:
|
||||||
|
- variable: protocol
|
||||||
|
label: "Port Type"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "UDP"
|
||||||
|
enum:
|
||||||
|
- value: HTTP
|
||||||
|
description: "HTTP"
|
||||||
|
- value: "HTTPS"
|
||||||
|
description: "HTTPS"
|
||||||
|
- value: TCP
|
||||||
|
description: "TCP"
|
||||||
|
- value: "UDP"
|
||||||
|
description: "UDP"
|
||||||
|
- variable: nodePort
|
||||||
|
label: "Node Port (Optional)"
|
||||||
|
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
|
||||||
|
schema:
|
||||||
|
type: int
|
||||||
|
min: 9000
|
||||||
|
max: 65535
|
||||||
|
- variable: targetPort
|
||||||
|
label: "Target Port"
|
||||||
|
description: "The internal(!) port on the container the Application runs on"
|
||||||
|
schema:
|
||||||
|
type: int
|
||||||
|
default: 9993
|
||||||
- variable: serviceexpert
|
- variable: serviceexpert
|
||||||
group: "Networking and Services"
|
group: "Networking and Services"
|
||||||
label: "Show Expert Config"
|
label: "Show Expert Config"
|
||||||
@@ -226,6 +281,32 @@ questions:
|
|||||||
|
|
||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
|
|
||||||
|
- variable: persistence
|
||||||
|
label: "Integrated Persistent Storage"
|
||||||
|
description: "Integrated Persistent Storage"
|
||||||
|
group: "Storage and Persistence"
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
|
||||||
|
- variable: config
|
||||||
|
label: "config Storage"
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
# Include{persistenceBasic}
|
||||||
|
# Include{persistenceAdvanced}
|
||||||
|
- variable: zerotier
|
||||||
|
label: "Zerotier Storage"
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
# Include{persistenceBasic}
|
||||||
|
# Include{persistenceAdvanced}
|
||||||
|
|
||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
|
|
||||||
- variable: ingress
|
- variable: ingress
|
||||||
|
|||||||
@@ -15,12 +15,15 @@ env:
|
|||||||
HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
|
HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
|
||||||
HTTP_ALL_INTERFACES: "yes"
|
HTTP_ALL_INTERFACES: "yes"
|
||||||
ZTNCUI_PASSWD: "CHANGEME"
|
ZTNCUI_PASSWD: "CHANGEME"
|
||||||
|
NODE_ENV: "production"
|
||||||
|
MYDOMAIN: "test.truecharts.org"
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
main:
|
main:
|
||||||
port: 4000
|
port: 10258
|
||||||
|
protocol: "HTTPS"
|
||||||
other:
|
other:
|
||||||
enabled: true
|
enabled: true
|
||||||
ports:
|
ports:
|
||||||
@@ -28,3 +31,18 @@ service:
|
|||||||
enabled: true
|
enabled: true
|
||||||
port: 3180
|
port: 3180
|
||||||
targetPort: 3180
|
targetPort: 3180
|
||||||
|
other2:
|
||||||
|
enabled: true
|
||||||
|
ports:
|
||||||
|
other2:
|
||||||
|
enabled: true
|
||||||
|
protocol: UDP
|
||||||
|
port: 9993
|
||||||
|
targetPort: 9993
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
mountPath: /opt/key-networks/ztncui/etc
|
||||||
|
zerotier:
|
||||||
|
enabled: true
|
||||||
|
mountPath: /var/lib/zerotier-one
|
||||||
|
|||||||
Reference in New Issue
Block a user