mirror of
https://github.com/truenas/charts.git
synced 2026-04-07 12:48:56 +08:00
Publish new changes in catalog
This commit is contained in:
6
community/omada-controller/1.0.0/Chart.lock
Normal file
6
community/omada-controller/1.0.0/Chart.lock
Normal file
@@ -0,0 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.1.1
|
||||
digest: sha256:a7dbe3e4d42dbcd4325776e5e01a1d630c7f185f79e7ebf22b1b9cc80f56eed7
|
||||
generated: "2023-09-20T16:01:02.92931839+03:00"
|
||||
28
community/omada-controller/1.0.0/Chart.yaml
Normal file
28
community/omada-controller/1.0.0/Chart.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: omada-controller
|
||||
description: Omada Controller (TP-Link) is a network management controller for TP-Link Omada Equipment.
|
||||
annotations:
|
||||
title: Omada Controller
|
||||
type: application
|
||||
version: 1.0.0
|
||||
apiVersion: v2
|
||||
appVersion: '5.9'
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
maintainers:
|
||||
- name: truenas
|
||||
url: https://www.truenas.com/
|
||||
email: dev@ixsystems.com
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.1.1
|
||||
home: https://github.com/mbentley/docker-omada-controller
|
||||
icon: https://static.tp-link.com/assets/images/icon/logo-white.svg
|
||||
sources:
|
||||
- https://github.com/mbentley/docker-omada-controller
|
||||
- https://github.com/truenas/charts/tree/master/library/ix-dev/community/omada-controller
|
||||
- https://hub.docker.com/r/mbentley/omada-controller
|
||||
keywords:
|
||||
- network
|
||||
- controller
|
||||
- omada
|
||||
- tp-link
|
||||
3
community/omada-controller/1.0.0/README.md
Normal file
3
community/omada-controller/1.0.0/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Omada Controller
|
||||
|
||||
[Omada Controller](https://github.com/mbentley/docker-omada-controller) is a network management controller for Omada (TP-Link) Equipment.
|
||||
3
community/omada-controller/1.0.0/app-readme.md
Normal file
3
community/omada-controller/1.0.0/app-readme.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Omada Controller
|
||||
|
||||
[Omada Controller](https://github.com/mbentley/docker-omada-controller) is a network management controller for Omada (TP-Link) Equipment.
|
||||
BIN
community/omada-controller/1.0.0/charts/common-1.1.1.tgz
Normal file
BIN
community/omada-controller/1.0.0/charts/common-1.1.1.tgz
Normal file
Binary file not shown.
20
community/omada-controller/1.0.0/ci/basic-values.yaml
Normal file
20
community/omada-controller/1.0.0/ci/basic-values.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
omadaStorage:
|
||||
data:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Namespace }}/data
|
||||
logs:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Namespace }}/logs
|
||||
|
||||
omadaID:
|
||||
user: 1001
|
||||
group: 1001
|
||||
|
||||
# CI has a lower port rage of 30000
|
||||
omadaNetwork:
|
||||
appDiscoveryPort: 30001
|
||||
discoveryPort: 30002
|
||||
managerV1Port: 30003
|
||||
adoptV1Port: 30004
|
||||
upgradeV1Port: 30005
|
||||
managerV2Port: 30006
|
||||
10
community/omada-controller/1.0.0/ci/hostNet-values.yaml
Normal file
10
community/omada-controller/1.0.0/ci/hostNet-values.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
omadaStorage:
|
||||
data:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Namespace }}/data
|
||||
logs:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Namespace }}/logs
|
||||
|
||||
omadaNetwork:
|
||||
hostNetwork: true
|
||||
103
community/omada-controller/1.0.0/ci/https-values.yaml
Normal file
103
community/omada-controller/1.0.0/ci/https-values.yaml
Normal file
@@ -0,0 +1,103 @@
|
||||
omadaStorage:
|
||||
data:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Namespace }}/data
|
||||
logs:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Namespace }}/logs
|
||||
|
||||
# CI has a lower port rage of 30000
|
||||
omadaNetwork:
|
||||
certificateID: 1
|
||||
appDiscoveryPort: 30001
|
||||
discoveryPort: 30002
|
||||
managerV1Port: 30003
|
||||
adoptV1Port: 30004
|
||||
upgradeV1Port: 30005
|
||||
managerV2Port: 30006
|
||||
|
||||
ixCertificates:
|
||||
"1":
|
||||
certificate: |
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIEdjCCA16gAwIBAgIDYFMYMA0GCSqGSIb3DQEBCwUAMGwxDDAKBgNVBAMMA2Fz
|
||||
ZDELMAkGA1UEBhMCVVMxDTALBgNVBAgMBGFzZGYxCzAJBgNVBAcMAmFmMQ0wCwYD
|
||||
VQQKDARhc2RmMQwwCgYDVQQLDANhc2QxFjAUBgkqhkiG9w0BCQEWB2FAYS5jb20w
|
||||
HhcNMjEwODMwMjMyMzU0WhcNMjMxMjAzMjMyMzU0WjBuMQswCQYDVQQDDAJhZDEL
|
||||
MAkGA1UEBhMCVVMxDTALBgNVBAgMBGFzZGYxDTALBgNVBAcMBGFzZGYxDTALBgNV
|
||||
BAoMBGFkc2YxDTALBgNVBAsMBGFzZGYxFjAUBgkqhkiG9w0BCQEWB2FAYS5jb20w
|
||||
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7+1xOHRQyOnQTHFcrdasX
|
||||
Zl0gzutVlA890a1wiQpdD5dOtCLo7+eqVYjqVKo9W8RUIArXWmBu/AbkH7oVFWC1
|
||||
P973W1+ArF5sA70f7BZgqRKJTIisuIFIlRETgfnP2pfQmHRZtGaIJRZI4vQCdYgW
|
||||
2g0KOvvNcZJCVq1OrhKiNiY1bWCp66DGg0ic6OEkZFHTm745zUNQaf2dNgsxKU0H
|
||||
PGjVLJI//yrRFAOSBUqgD4c50krnMF7fU/Fqh+UyOu8t6Y/HsySh3urB+Zie331t
|
||||
AzV6QV39KKxRflNx/yuWrtIEslGTm+xHKoCYJEk/nZ3mX8Y5hG6wWAb7A/FuDVg3
|
||||
Ag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wMBBggrBgEF
|
||||
BQcDAjAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQELBQADggEBAKEocOmVuWlr
|
||||
zegtKYMe8NhHIkFY9oVn5ym6RHNOJpPH4QF8XYC3Z5+iC5yGh4P/jVe/4I4SF6Ql
|
||||
PtofU0jNq5vzapt/y+m008eXqPQFmoUOvu+JavoRVcRx2LIP5AgBA1mF56CSREsX
|
||||
TkuJAA9IUQ8EjnmAoAeKINuPaKxGDuU8BGCMqr/qd564MKNf9XYL+Fb2rlkA0O2d
|
||||
2No34DQLgqSmST/LAvPM7Cbp6knYgnKmGr1nETCXasg1cueHLnWWTvps2HiPp2D/
|
||||
+Fq0uqcZLu4Mdo0CPs4e5sHRyldEnRSKh0DVLprq9zr/GMipmPLJUsT5Jed3sj0w
|
||||
M7Y3vwxshpo=
|
||||
-----END CERTIFICATE-----
|
||||
privatekey: |
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC7+1xOHRQyOnQT
|
||||
HFcrdasXZl0gzutVlA890a1wiQpdD5dOtCLo7+eqVYjqVKo9W8RUIArXWmBu/Abk
|
||||
H7oVFWC1P973W1+ArF5sA70f7BZgqRKJTIisuIFIlRETgfnP2pfQmHRZtGaIJRZI
|
||||
4vQCdYgW2g0KOvvNcZJCVq1OrhKiNiY1bWCp66DGg0ic6OEkZFHTm745zUNQaf2d
|
||||
NgsxKU0HPGjVLJI//yrRFAOSBUqgD4c50krnMF7fU/Fqh+UyOu8t6Y/HsySh3urB
|
||||
+Zie331tAzV6QV39KKxRflNx/yuWrtIEslGTm+xHKoCYJEk/nZ3mX8Y5hG6wWAb7
|
||||
A/FuDVg3AgMBAAECggEAapt30rj9DitGTtxAt13pJMEhyYxvvD3WkvmJwguF/Bbu
|
||||
eW0Ba1c668fMeRCA54FWi1sMqusPS4HUqqUvk+tmyAOsAF4qgD/A4MMSC7uJSVI5
|
||||
N/JWh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baLgIRFaCZ0L2809u0HFnNvJjHv4AKP6j+vFQYYY
|
||||
qQ+66XnfsA9G/bu4MDS9AX83iahD9IdLXQAy8I19prAbpVumKegPbMnNYNB/TYEc
|
||||
3G15AKCXo7jjOUtHY01DCQ==
|
||||
-----END PRIVATE KEY-----
|
||||
39
community/omada-controller/1.0.0/ix_values.yaml
Normal file
39
community/omada-controller/1.0.0/ix_values.yaml
Normal file
@@ -0,0 +1,39 @@
|
||||
image:
|
||||
repository: mbentley/omada-controller
|
||||
pullPolicy: IfNotPresent
|
||||
tag: '5.9'
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 4000m
|
||||
memory: 8Gi
|
||||
|
||||
omadaConfig:
|
||||
additionalEnvs: []
|
||||
|
||||
omadaID:
|
||||
user: 568
|
||||
group: 568
|
||||
|
||||
omadaNetwork:
|
||||
hostNetwork: false
|
||||
certificateID:
|
||||
manageHttpPort: 30076
|
||||
manageHttpsPort: 30077
|
||||
portalHttpPort: 30078
|
||||
portalHttpsPort: 30079
|
||||
appDiscoveryPort: 27001
|
||||
discoveryPort: 29810
|
||||
managerV1Port: 29811
|
||||
adoptV1Port: 29812
|
||||
upgradeV1Port: 29813
|
||||
managerV2Port: 29814
|
||||
|
||||
omadaStorage:
|
||||
data:
|
||||
type: ixVolume
|
||||
datasetName: data
|
||||
logs:
|
||||
type: ixVolume
|
||||
datasetName: logs
|
||||
additionalStorages: []
|
||||
18
community/omada-controller/1.0.0/metadata.yaml
Normal file
18
community/omada-controller/1.0.0/metadata.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
runAsContext:
|
||||
- userName: root
|
||||
groupName: root
|
||||
gid: 0
|
||||
uid: 0
|
||||
description: Omada Controller runs as root user.
|
||||
capabilities:
|
||||
- name: CHOWN
|
||||
description: Omada Controller is able to chown files.
|
||||
- name: DAC_OVERRIDE
|
||||
description: Omada Controller requires this ability to bypass file permissions.
|
||||
- name: FOWNER
|
||||
description: Omada Controller requires this ability to bypass file permissions for it's sub-processes.
|
||||
- name: SETGID
|
||||
description: Omada Controller requires this ability to switch group for sub-processes.
|
||||
- name: SETUID
|
||||
description: Omada Controller requires this ability to switch user for sub-processes.
|
||||
hostMounts: []
|
||||
371
community/omada-controller/1.0.0/questions.yaml
Normal file
371
community/omada-controller/1.0.0/questions.yaml
Normal file
@@ -0,0 +1,371 @@
|
||||
groups:
|
||||
- name: Omada Controller Configuration
|
||||
description: Configure Omada Controller
|
||||
- name: User and Group Configuration
|
||||
description: Configure User and Group for Omada Controller
|
||||
- name: Network Configuration
|
||||
description: Configure Network for Omada Controller
|
||||
- name: Storage Configuration
|
||||
description: Configure Storage for Omada Controller
|
||||
- name: Resources Configuration
|
||||
description: Configure Resources for Omada Controller
|
||||
|
||||
portals:
|
||||
web_portal:
|
||||
protocols:
|
||||
- "$kubernetes-resource_configmap_portal_protocol"
|
||||
host:
|
||||
- "$kubernetes-resource_configmap_portal_host"
|
||||
ports:
|
||||
- "$kubernetes-resource_configmap_portal_port"
|
||||
path: "$kubernetes-resource_configmap_portal_path"
|
||||
|
||||
questions:
|
||||
- variable: TZ
|
||||
group: Omada Controller Configuration
|
||||
label: Timezone
|
||||
schema:
|
||||
type: string
|
||||
default: Etc/UTC
|
||||
required: true
|
||||
$ref:
|
||||
- definitions/timezone
|
||||
|
||||
- variable: omadaConfig
|
||||
label: ""
|
||||
group: Omada Controller Configuration
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: additionalEnvs
|
||||
label: Additional Environment Variables
|
||||
description: Configure additional environment variables for Omada Controller.
|
||||
schema:
|
||||
type: list
|
||||
default: []
|
||||
items:
|
||||
- variable: env
|
||||
label: Environment Variable
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: name
|
||||
label: Name
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
- variable: value
|
||||
label: Value
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
|
||||
- variable: omadaID
|
||||
label: ""
|
||||
group: User and Group Configuration
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: user
|
||||
label: User ID
|
||||
description: The user id that Omada Controller files will be owned by.
|
||||
schema:
|
||||
type: int
|
||||
min: 568
|
||||
default: 568
|
||||
required: true
|
||||
- variable: group
|
||||
label: Group ID
|
||||
description: The group id that Omada Controller files will be owned by.
|
||||
schema:
|
||||
type: int
|
||||
min: 568
|
||||
default: 568
|
||||
required: true
|
||||
|
||||
- variable: omadaNetwork
|
||||
label: ""
|
||||
group: Network Configuration
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: manageHttpPort
|
||||
label: Manage HTTP Port
|
||||
description: The port to use for Omada Controller HTTP management.
|
||||
schema:
|
||||
type: int
|
||||
default: 30076
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: manageHttpsPort
|
||||
label: Manage HTTPS Port
|
||||
description: The port to use for Omada Controller HTTPS management.
|
||||
schema:
|
||||
type: int
|
||||
default: 30077
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: portalHttpPort
|
||||
label: Portal HTTP Port
|
||||
description: The port to use for Omada Controller HTTP portal.
|
||||
schema:
|
||||
type: int
|
||||
default: 30078
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: portalHttpsPort
|
||||
label: Portal HTTPS Port
|
||||
description: The port to use for Omada Controller HTTPS portal.
|
||||
schema:
|
||||
type: int
|
||||
default: 30079
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: appDiscoveryPort
|
||||
label: App Discovery Port
|
||||
description: The port to use for Omada Controller App Discovery.
|
||||
schema:
|
||||
type: int
|
||||
default: 27001
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: discoveryPort
|
||||
label: Discovery Port
|
||||
description: The port to use for Omada Controller Discovery.
|
||||
schema:
|
||||
type: int
|
||||
default: 29810
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: managerV1Port
|
||||
label: Manager v1 Port
|
||||
description: The port to use for Omada Controller Manager v1.
|
||||
schema:
|
||||
type: int
|
||||
default: 29811
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: adoptV1Port
|
||||
label: Adopt v1 Port
|
||||
description: The port to use for Omada Controller Adopt v1.
|
||||
schema:
|
||||
type: int
|
||||
default: 29812
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: upgradeV1Port
|
||||
label: Upgrade v1 Port
|
||||
description: The port to use for Omada Controller Upgrade v1.
|
||||
schema:
|
||||
type: int
|
||||
default: 29813
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: managerV2Port
|
||||
label: Manager v2 Port
|
||||
description: The port to use for Omada Controller Manager v2.
|
||||
schema:
|
||||
type: int
|
||||
default: 29814
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: certificateID
|
||||
label: Certificate
|
||||
description: The certificate to use for Omada Controller </br>
|
||||
schema:
|
||||
type: int
|
||||
"null": true
|
||||
$ref:
|
||||
- "definitions/certificate"
|
||||
- variable: hostNetwork
|
||||
label: Host Network
|
||||
description: |
|
||||
Bind to the host network. </br>s
|
||||
This might be required for specific features to work.
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
- variable: omadaStorage
|
||||
label: ""
|
||||
group: Storage Configuration
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: data
|
||||
label: Omada Controller Data Storage
|
||||
description: The path to store Omada Controller Data.
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: Type
|
||||
description: |
|
||||
ixVolume: Is dataset created automatically by the system.</br>
|
||||
Host Path: Is a path that already exists on the system.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: "ixVolume"
|
||||
enum:
|
||||
- value: "hostPath"
|
||||
description: Host Path (Path that already exists on the system)
|
||||
- value: "ixVolume"
|
||||
description: ixVolume (Dataset created automatically by the system)
|
||||
- variable: datasetName
|
||||
label: Dataset Name
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["type", "=", "ixVolume"]]
|
||||
required: true
|
||||
hidden: true
|
||||
immutable: true
|
||||
default: "data"
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
- variable: hostPath
|
||||
label: Host Path
|
||||
schema:
|
||||
type: hostpath
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
immutable: true
|
||||
required: true
|
||||
- variable: logs
|
||||
label: Omada Controller Logs Storage
|
||||
description: The path to store Omada Controller Logs.
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: Type
|
||||
description: |
|
||||
ixVolume: Is dataset created automatically by the system.</br>
|
||||
Host Path: Is a path that already exists on the system.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: "ixVolume"
|
||||
enum:
|
||||
- value: "hostPath"
|
||||
description: Host Path (Path that already exists on the system)
|
||||
- value: "ixVolume"
|
||||
description: ixVolume (Dataset created automatically by the system)
|
||||
- variable: datasetName
|
||||
label: Dataset Name
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["type", "=", "ixVolume"]]
|
||||
required: true
|
||||
hidden: true
|
||||
immutable: true
|
||||
default: "logs"
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
- variable: hostPath
|
||||
label: Host Path
|
||||
schema:
|
||||
type: hostpath
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
immutable: true
|
||||
required: true
|
||||
- variable: additionalStorages
|
||||
label: Additional Storage
|
||||
description: Additional storage for Omada Controller.
|
||||
schema:
|
||||
type: list
|
||||
default: []
|
||||
items:
|
||||
- variable: storageEntry
|
||||
label: Storage Entry
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: Type
|
||||
description: |
|
||||
ixVolume: Is dataset created automatically by the system.</br>
|
||||
Host Path: Is a path that already exists on the system.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: "ixVolume"
|
||||
enum:
|
||||
- value: "hostPath"
|
||||
description: Host Path (Path that already exists on the system)
|
||||
- value: "ixVolume"
|
||||
description: ixVolume (Dataset created automatically by the system)
|
||||
- variable: mountPath
|
||||
label: Mount Path
|
||||
description: The path inside the container to mount the storage.
|
||||
schema:
|
||||
type: path
|
||||
required: true
|
||||
- variable: hostPath
|
||||
label: Host Path
|
||||
description: The host path to use for storage.
|
||||
schema:
|
||||
type: hostpath
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
required: true
|
||||
- variable: datasetName
|
||||
label: Dataset Name
|
||||
description: The name of the dataset to use for storage.
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["type", "=", "ixVolume"]]
|
||||
required: true
|
||||
immutable: true
|
||||
default: "storage_entry"
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
|
||||
- variable: resources
|
||||
group: Resources Configuration
|
||||
label: ""
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: limits
|
||||
label: Limits
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: cpu
|
||||
label: CPU
|
||||
description: CPU limit for Omada Controller.
|
||||
schema:
|
||||
type: string
|
||||
max_length: 6
|
||||
valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
|
||||
valid_chars_error: |
|
||||
Valid CPU limit formats are</br>
|
||||
- Plain Integer - eg. 1</br>
|
||||
- Float - eg. 0.5</br>
|
||||
- Milicpu - eg. 500m
|
||||
default: "4000m"
|
||||
required: true
|
||||
- variable: memory
|
||||
label: Memory
|
||||
description: Memory limit for Omada Controller.
|
||||
schema:
|
||||
type: string
|
||||
max_length: 12
|
||||
valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
|
||||
valid_chars_error: |
|
||||
Valid Memory limit formats are</br>
|
||||
- Suffixed with E/P/T/G/M/K - eg. 1G</br>
|
||||
- Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
|
||||
- Plain Integer in bytes - eg. 1024</br>
|
||||
- Exponent - eg. 134e6
|
||||
default: "8Gi"
|
||||
required: true
|
||||
1
community/omada-controller/1.0.0/templates/NOTES.txt
Normal file
1
community/omada-controller/1.0.0/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "ix.v1.common.lib.chart.notes" $ }}
|
||||
67
community/omada-controller/1.0.0/templates/_omada.tpl
Normal file
67
community/omada-controller/1.0.0/templates/_omada.tpl
Normal file
@@ -0,0 +1,67 @@
|
||||
{{- define "omada.workload" -}}
|
||||
workload:
|
||||
omada:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: Deployment
|
||||
podSpec:
|
||||
hostNetwork: {{ .Values.omadaNetwork.hostNetwork }}
|
||||
securityContext:
|
||||
fsGroup: {{ .Values.omadaID.group }}
|
||||
containers:
|
||||
omada:
|
||||
enabled: true
|
||||
primary: true
|
||||
imageSelector: image
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
runAsNonRoot: false
|
||||
readOnlyRootFilesystem: false
|
||||
capabilities:
|
||||
add:
|
||||
- CHOWN
|
||||
- DAC_OVERRIDE
|
||||
- FOWNER
|
||||
- SETUID
|
||||
- SETGID
|
||||
fixedEnv:
|
||||
PUID: {{ .Values.omadaID.user }}
|
||||
env:
|
||||
PUSERNAME: omada
|
||||
PGROUP: omada
|
||||
MANAGE_HTTP_PORT: {{ .Values.omadaNetwork.manageHttpPort }}
|
||||
MANAGE_HTTPS_PORT: {{ .Values.omadaNetwork.manageHttpsPort }}
|
||||
PORTAL_HTTP_PORT: {{ .Values.omadaNetwork.portalHttpPort }}
|
||||
PORTAL_HTTPS_PORT: {{ .Values.omadaNetwork.portalHttpsPort }}
|
||||
PORT_APP_DISCOVERY: {{ .Values.omadaNetwork.appDiscoveryPort }}
|
||||
PORT_DISCOVERY: {{ .Values.omadaNetwork.discoveryPort }}
|
||||
PORT_MANAGER_V2: {{ .Values.omadaNetwork.managerV2Port }}
|
||||
PORT_ADOPT_V1: {{ .Values.omadaNetwork.adoptV1Port }}
|
||||
PORT_MANAGER_V1: {{ .Values.omadaNetwork.managerV1Port }}
|
||||
PORT_UPGRADE_V1: {{ .Values.omadaNetwork.upgradeV1Port }}
|
||||
{{- if .Values.omadaNetwork.certificateID }}
|
||||
SSL_CERT_NAME: tls.crt
|
||||
SSL_KEY_NAME: tls.key
|
||||
{{- end }}
|
||||
{{ with .Values.omadaConfig.additionalEnvs }}
|
||||
envList:
|
||||
{{ range $env := . }}
|
||||
- name: {{ $env.name }}
|
||||
value: {{ $env.value }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
type: exec
|
||||
command: /healthcheck.sh
|
||||
readiness:
|
||||
enabled: true
|
||||
type: exec
|
||||
command: /healthcheck.sh
|
||||
startup:
|
||||
enabled: true
|
||||
type: exec
|
||||
command: /healthcheck.sh
|
||||
{{- end -}}
|
||||
68
community/omada-controller/1.0.0/templates/_persistence.tpl
Normal file
68
community/omada-controller/1.0.0/templates/_persistence.tpl
Normal file
@@ -0,0 +1,68 @@
|
||||
{{- define "omada.persistence" -}}
|
||||
persistence:
|
||||
data:
|
||||
enabled: true
|
||||
type: {{ .Values.omadaStorage.data.type }}
|
||||
datasetName: {{ .Values.omadaStorage.data.datasetName | default "" }}
|
||||
hostPath: {{ .Values.omadaStorage.data.hostPath | default "" }}
|
||||
targetSelector:
|
||||
omada:
|
||||
omada:
|
||||
mountPath: /opt/tplink/EAPController/data
|
||||
01-permissions:
|
||||
mountPath: /mnt/directories/data
|
||||
logs:
|
||||
enabled: true
|
||||
type: {{ .Values.omadaStorage.logs.type }}
|
||||
datasetName: {{ .Values.omadaStorage.logs.datasetName | default "" }}
|
||||
hostPath: {{ .Values.omadaStorage.logs.hostPath | default "" }}
|
||||
targetSelector:
|
||||
omada:
|
||||
omada:
|
||||
mountPath: /opt/tplink/EAPController/logs
|
||||
01-permissions:
|
||||
mountPath: /mnt/directories/logs
|
||||
tmp:
|
||||
enabled: true
|
||||
type: emptyDir
|
||||
targetSelector:
|
||||
omada:
|
||||
omada:
|
||||
mountPath: /tmp
|
||||
{{- range $idx, $storage := .Values.omadaStorage.additionalStorages }}
|
||||
{{ printf "omada-%v" (int $idx) }}:
|
||||
enabled: true
|
||||
type: {{ $storage.type }}
|
||||
datasetName: {{ $storage.datasetName | default "" }}
|
||||
hostPath: {{ $storage.hostPath | default "" }}
|
||||
targetSelector:
|
||||
omada:
|
||||
omada:
|
||||
mountPath: {{ $storage.mountPath }}
|
||||
01-permissions:
|
||||
mountPath: /mnt/directories{{ $storage.mountPath }}
|
||||
{{- end -}}
|
||||
|
||||
{{- if .Values.omadaNetwork.certificateID }}
|
||||
cert:
|
||||
enabled: true
|
||||
type: secret
|
||||
objectName: omada-cert
|
||||
defaultMode: "0600"
|
||||
items:
|
||||
- key: tls.key
|
||||
path: tls.key
|
||||
- key: tls.crt
|
||||
path: tls.crt
|
||||
targetSelector:
|
||||
omada:
|
||||
omada:
|
||||
mountPath: /cert
|
||||
readOnly: true
|
||||
|
||||
scaleCertificate:
|
||||
omada-cert:
|
||||
enabled: true
|
||||
id: {{ .Values.omadaNetwork.certificateID }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
12
community/omada-controller/1.0.0/templates/_portal.tpl
Normal file
12
community/omada-controller/1.0.0/templates/_portal.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- define "omada.portal" -}}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: portal
|
||||
data:
|
||||
path: "/"
|
||||
port: {{ .Values.omadaNetwork.manageHttpsPort | quote }}
|
||||
protocol: https
|
||||
host: $node_ip
|
||||
{{- end -}}
|
||||
81
community/omada-controller/1.0.0/templates/_service.tpl
Normal file
81
community/omada-controller/1.0.0/templates/_service.tpl
Normal file
@@ -0,0 +1,81 @@
|
||||
{{- define "omada.service" -}}
|
||||
service:
|
||||
omada:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: NodePort
|
||||
targetSelector: omada
|
||||
ports:
|
||||
manage-https:
|
||||
enabled: true
|
||||
primary: true
|
||||
port: {{ .Values.omadaNetwork.manageHttpsPort }}
|
||||
nodePort: {{ .Values.omadaNetwork.manageHttpsPort }}
|
||||
targetSelector: omada
|
||||
manage-http:
|
||||
enabled: true
|
||||
port: {{ .Values.omadaNetwork.manageHttpPort }}
|
||||
nodePort: {{ .Values.omadaNetwork.manageHttpPort }}
|
||||
targetSelector: omada
|
||||
|
||||
omada-portal:
|
||||
enabled: true
|
||||
type: NodePort
|
||||
targetSelector: omada
|
||||
ports:
|
||||
portal-https:
|
||||
enabled: true
|
||||
primary: true
|
||||
port: {{ .Values.omadaNetwork.portalHttpsPort }}
|
||||
nodePort: {{ .Values.omadaNetwork.portalHttpsPort }}
|
||||
targetSelector: omada
|
||||
portal-http:
|
||||
enabled: true
|
||||
port: {{ .Values.omadaNetwork.portalHttpPort }}
|
||||
nodePort: {{ .Values.omadaNetwork.portalHttpPort }}
|
||||
targetSelector: omada
|
||||
|
||||
omada-discovery:
|
||||
enabled: true
|
||||
type: NodePort
|
||||
targetSelector: omada
|
||||
ports:
|
||||
app-discovery:
|
||||
enabled: true
|
||||
primary: true
|
||||
port: {{ .Values.omadaNetwork.appDiscoveryPort }}
|
||||
nodePort: {{ .Values.omadaNetwork.appDiscoveryPort }}
|
||||
targetSelector: omada
|
||||
discovery:
|
||||
enabled: true
|
||||
port: {{ .Values.omadaNetwork.discoveryPort }}
|
||||
nodePort: {{ .Values.omadaNetwork.discoveryPort }}
|
||||
targetSelector: omada
|
||||
|
||||
omada-devices:
|
||||
enabled: true
|
||||
type: NodePort
|
||||
targetSelector: omada
|
||||
ports:
|
||||
managerv1:
|
||||
enabled: true
|
||||
primary: true
|
||||
port: {{ .Values.omadaNetwork.managerV1Port }}
|
||||
nodePort: {{ .Values.omadaNetwork.managerV1Port }}
|
||||
targetSelector: omada
|
||||
adoptv1:
|
||||
enabled: true
|
||||
port: {{ .Values.omadaNetwork.adoptV1Port }}
|
||||
nodePort: {{ .Values.omadaNetwork.adoptV1Port }}
|
||||
targetSelector: omada
|
||||
upgradev1:
|
||||
enabled: true
|
||||
port: {{ .Values.omadaNetwork.upgradeV1Port }}
|
||||
nodePort: {{ .Values.omadaNetwork.upgradeV1Port }}
|
||||
targetSelector: omada
|
||||
managerv2:
|
||||
enabled: true
|
||||
port: {{ .Values.omadaNetwork.managerV2Port }}
|
||||
nodePort: {{ .Values.omadaNetwork.managerV2Port }}
|
||||
targetSelector: omada
|
||||
{{- end -}}
|
||||
11
community/omada-controller/1.0.0/templates/common.yaml
Normal file
11
community/omada-controller/1.0.0/templates/common.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
{{- include "ix.v1.common.loader.init" . -}}
|
||||
|
||||
{{/* Merge the templates with Values */}}
|
||||
{{- $_ := mustMergeOverwrite .Values (include "omada.workload" $ | fromYaml) -}}
|
||||
{{- $_ := mustMergeOverwrite .Values (include "omada.service" $ | fromYaml) -}}
|
||||
{{- $_ := mustMergeOverwrite .Values (include "omada.persistence" $ | fromYaml) -}}
|
||||
|
||||
{{/* Create the configmap for portal manually*/}}
|
||||
{{- include "omada.portal" $ -}}
|
||||
|
||||
{{- include "ix.v1.common.loader.apply" . -}}
|
||||
7
community/omada-controller/item.yaml
Normal file
7
community/omada-controller/item.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
icon_url: https://static.tp-link.com/assets/images/icon/logo-white.svg
|
||||
categories:
|
||||
- network
|
||||
screenshots: []
|
||||
tags:
|
||||
- controller
|
||||
- omada
|
||||
Reference in New Issue
Block a user