feat(ztcuui-aio): Fix scale permission (#3314)
* add ztcuui-aio * space * readonly filesystem * Permission * add readme * add question * fix port * add env * fix some miss * fix scale permission * update ui Co-authored-by: Stavros kois <s.kois@outlook.com>
This commit is contained in:
@@ -17,7 +17,7 @@ maintainers:
|
|||||||
name: ztcuui-aio
|
name: ztcuui-aio
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/key-networks/ztncui-aio
|
- https://github.com/key-networks/ztncui-aio
|
||||||
version: 0.0.2
|
version: 0.0.3
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- network
|
- network
|
||||||
|
|||||||
@@ -74,9 +74,9 @@ questions:
|
|||||||
- value: "OnDelete"
|
- value: "OnDelete"
|
||||||
description: "(Legacy) OnDelete: ignore .spec.template changes"
|
description: "(Legacy) OnDelete: ignore .spec.template changes"
|
||||||
# Include{controllerExpert}
|
# Include{controllerExpert}
|
||||||
- variable: env
|
- variable: secretEnv
|
||||||
group: "Container Configuration"
|
group: "Container Configuration"
|
||||||
label: "Image Environment"
|
label: "Image Secrets"
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
@@ -87,7 +87,20 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
private: true
|
private: true
|
||||||
default: "CHANGEME"
|
default: ""
|
||||||
|
- variable: env
|
||||||
|
group: "Container Configuration"
|
||||||
|
label: "Image Environment"
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
- variable: MYDOMAIN
|
||||||
|
label: "MYDOMAIN"
|
||||||
|
description: "MYDOMAIN"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
|
|
||||||
- variable: service
|
- variable: service
|
||||||
@@ -129,7 +142,7 @@ questions:
|
|||||||
label: "Port Type"
|
label: "Port Type"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "HTTPS"
|
default: "HTTP"
|
||||||
enum:
|
enum:
|
||||||
- value: HTTP
|
- value: HTTP
|
||||||
description: "HTTP"
|
description: "HTTP"
|
||||||
@@ -357,7 +370,7 @@ questions:
|
|||||||
label: "ReadOnly Root Filesystem"
|
label: "ReadOnly Root Filesystem"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: false
|
||||||
- variable: allowPrivilegeEscalation
|
- variable: allowPrivilegeEscalation
|
||||||
label: "Allow Privilege Escalation"
|
label: "Allow Privilege Escalation"
|
||||||
schema:
|
schema:
|
||||||
@@ -367,7 +380,7 @@ questions:
|
|||||||
label: "runAsNonRoot"
|
label: "runAsNonRoot"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: false
|
||||||
# Include{securityContextAdvanced}
|
# Include{securityContextAdvanced}
|
||||||
|
|
||||||
- variable: podSecurityContext
|
- variable: podSecurityContext
|
||||||
@@ -382,13 +395,13 @@ questions:
|
|||||||
description: "The UserID of the user running the application"
|
description: "The UserID of the user running the application"
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 568
|
default: 0
|
||||||
- variable: runAsGroup
|
- variable: runAsGroup
|
||||||
label: "runAsGroup"
|
label: "runAsGroup"
|
||||||
description: "The groupID this App of the user running the application"
|
description: "The groupID this App of the user running the application"
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 568
|
default: 0
|
||||||
- variable: fsGroup
|
- variable: fsGroup
|
||||||
label: "fsGroup"
|
label: "fsGroup"
|
||||||
description: "The group that should own ALL storage."
|
description: "The group that should own ALL storage."
|
||||||
|
|||||||
@@ -11,10 +11,12 @@ podSecurityContext:
|
|||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
|
||||||
|
secretEnv:
|
||||||
|
ZTNCUI_PASSWD: "CHANGEME"
|
||||||
|
|
||||||
env:
|
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"
|
|
||||||
NODE_ENV: "production"
|
NODE_ENV: "production"
|
||||||
MYDOMAIN: "test.truecharts.org"
|
MYDOMAIN: "test.truecharts.org"
|
||||||
|
|
||||||
@@ -23,7 +25,7 @@ service:
|
|||||||
ports:
|
ports:
|
||||||
main:
|
main:
|
||||||
port: 10258
|
port: 10258
|
||||||
protocol: "HTTPS"
|
# protocol: "HTTPS"
|
||||||
other:
|
other:
|
||||||
enabled: true
|
enabled: true
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user