chore(omada): add ingress for portal (#3944)

* chore(omada): add ingress for portal

* cleanup quotes
This commit is contained in:
Stavros Kois
2022-09-28 22:58:17 +03:00
committed by GitHub
parent 2f070d6f6e
commit 988dfba0e2
3 changed files with 80 additions and 66 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ name: omada-controller
sources: sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/omada-controller - https://github.com/truecharts/charts/tree/master/charts/stable/omada-controller
- https://github.com/mbentley/docker-omada-controller - https://github.com/mbentley/docker-omada-controller
version: 6.0.67 version: 6.0.68
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
+73 -63
View File
@@ -15,8 +15,8 @@ questions:
# Include{containerConfig} # Include{containerConfig}
# Include{serviceRoot} # Include{serviceRoot}
- variable: main - variable: main
label: "Main Service" label: Main Service
description: "The Primary service on which the healthcheck runs, often the webUI" description: The Primary service on which the healthcheck runs, often the webUI
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -24,28 +24,28 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: main - variable: main
label: "Main Service Port Configuration" label: Main Service Port Configuration
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
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: 8043 default: 8043
required: true required: true
# Include{advancedPortHTTPS} # Include{advancedPortHTTPS}
- variable: targetPort - variable: targetPort
label: "Target Port" label: Target Port
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: 8043 default: 8043
- variable: comm - variable: comm
label: "Omada Controller User HTTPS portal" label: Omada Controller User HTTPS portal
description: "Omada Controller User HTTPS portal" description: Omada Controller User HTTPS portal
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -53,28 +53,28 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: comm - variable: comm
label: "TCP Service Port Configuration" label: TCP Service Port Configuration
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
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: 8843 default: 8843
required: true required: true
# Include{advancedPortHTTPS} # Include{advancedPortHTTPS}
- variable: targetPort - variable: targetPort
label: "Target Port" label: Target Port
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: 8843 default: 8843
- variable: omada-tcp - variable: omada-tcp
label: "Omada TCP" label: Omada TCP
description: "Omada TCP" description: Omada TCP
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -82,92 +82,92 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: omada-tcp1 - variable: omada-tcp1
label: "Omada TCP 1" label: Omada TCP 1
description: "Omada Controller or EAP Discovery Utility manages Omada devices before Omada Controller v5.x." description: Omada Controller or EAP Discovery Utility manages Omada devices before Omada Controller v5.x.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
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: 29811 default: 29811
required: true required: true
# Include{advancedPortTCP} # Include{advancedPortTCP}
- variable: targetPort - variable: targetPort
label: "Target Port" label: Target Port
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: 29811 default: 29811
- variable: omada-tcp2 - variable: omada-tcp2
label: "Omada TCP 2" label: Omada TCP 2
description: "Omada Controller or EAP Discovery Utility manages Omada devices before Omada Controller v5.x." description: Omada Controller or EAP Discovery Utility manages Omada devices before Omada Controller v5.x.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
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: 29812 default: 29812
required: true required: true
# Include{advancedPortTCP} # Include{advancedPortTCP}
- variable: targetPort - variable: targetPort
label: "Target Port" label: Target Port
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: 29812 default: 29812
- variable: omada-tcp3 - variable: omada-tcp3
label: "Omada TCP 3" label: Omada TCP 3
description: "Omada Controller upgrades Omada devices before Omada Controller v5.x." description: Omada Controller upgrades Omada devices before Omada Controller v5.x.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
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: 29813 default: 29813
required: true required: true
# Include{advancedPortTCP} # Include{advancedPortTCP}
- variable: targetPort - variable: targetPort
label: "Target Port" label: Target Port
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: 29813 default: 29813
- variable: omada-tcp4 - variable: omada-tcp4
label: "Omada TCP 4" label: Omada TCP 4
description: "Omada Controller or EAP Discovery Utility adopts Omada devices since Omada Controller v5.x." description: Omada Controller or EAP Discovery Utility adopts Omada devices since Omada Controller v5.x.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
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: 29814 default: 29814
required: true required: true
# Include{advancedPortTCP} # Include{advancedPortTCP}
- variable: targetPort - variable: targetPort
label: "Target Port" label: Target Port
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: 29814 default: 29814
- variable: omada-udp - variable: omada-udp
label: "Omada UDP" label: Omada UDP
description: "Omada UDP" description: Omada UDP
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -175,23 +175,23 @@ questions:
# Include{serviceSelectorLoadBalancer} # Include{serviceSelectorLoadBalancer}
# Include{serviceSelectorExtras} # Include{serviceSelectorExtras}
- variable: omada-udp1 - variable: omada-udp1
label: "Omada UDP 1" label: Omada UDP 1
description: "Omada Controller or EAP Discovery Utility discovers Omada devices." description: Omada Controller or EAP Discovery Utility discovers Omada devices.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: port - variable: port
label: "Port" label: Port
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: 29810 default: 29810
required: true required: true
# Include{advancedPortUDP} # Include{advancedPortUDP}
- variable: targetPort - variable: targetPort
label: "Target Port" label: Target Port
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: 29810 default: 29810
@@ -201,8 +201,8 @@ questions:
# Include{serviceList} # Include{serviceList}
# Include{persistenceRoot} # Include{persistenceRoot}
- variable: data - variable: data
label: "App data Storage" label: App data Storage
description: "Stores the Application data." description: Stores the Application data.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -210,8 +210,8 @@ questions:
# Include{persistenceBasic} # Include{persistenceBasic}
# Include{persistenceAdvanced} # Include{persistenceAdvanced}
- variable: work - variable: work
label: "App working Storage" label: App working Storage
description: "Stores the Application data between resets." description: Stores the Application data between resets.
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -221,7 +221,17 @@ questions:
# Include{persistenceList} # Include{persistenceList}
# Include{ingressRoot} # Include{ingressRoot}
- variable: main - variable: main
label: "Main Ingress" label: Main Ingress
schema:
additional_attrs: true
type: dict
attrs:
# Include{ingressDefault}
# Include{ingressTLS}
# Include{ingressTraefik}
# Include{ingressExpert}
- variable: comm
label: Comm Ingress
schema: schema:
additional_attrs: true additional_attrs: true
type: dict type: dict
@@ -234,42 +244,42 @@ questions:
# Include{security} # Include{security}
# Include{securityContextAdvancedRoot} # Include{securityContextAdvancedRoot}
- variable: privileged - variable: privileged
label: "Privileged mode" label: Privileged mode
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: readOnlyRootFilesystem - variable: readOnlyRootFilesystem
label: "ReadOnly Root Filesystem" label: ReadOnly Root Filesystem
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: allowPrivilegeEscalation - variable: allowPrivilegeEscalation
label: "Allow Privilege Escalation" label: Allow Privilege Escalation
schema: schema:
type: boolean type: boolean
default: false default: false
- variable: runAsNonRoot - variable: runAsNonRoot
label: "runAsNonRoot" label: runAsNonRoot
schema: schema:
type: boolean type: boolean
default: false default: false
# Include{securityContextAdvanced} # Include{securityContextAdvanced}
# Include{podSecurityContextRoot} # Include{podSecurityContextRoot}
- variable: runAsUser - variable: runAsUser
label: "runAsUser" label: runAsUser
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: 0 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: 0 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.
schema: schema:
type: int type: int
default: 568 default: 568
+6 -2
View File
@@ -54,13 +54,17 @@ service:
port: 29810 port: 29810
targetPort: 29810 targetPort: 29810
ingress:
comm:
autoLink: true
persistence: persistence:
data: data:
enabled: true enabled: true
mountPath: "/opt/tplink/EAPController/data" mountPath: /opt/tplink/EAPController/data
work: work:
enabled: true enabled: true
mountPath: "/opt/tplink/EAPController/work" mountPath: /opt/tplink/EAPController/work
portal: portal:
enabled: true enabled: true