diff --git a/charts/library/common/CHANGELOG.md b/charts/library/common/CHANGELOG.md index bcfb3ae2c82..945442c03a0 100644 --- a/charts/library/common/CHANGELOG.md +++ b/charts/library/common/CHANGELOG.md @@ -7,4 +7,3 @@ #### Fix * ensure supplementalgroups when using devices are actually added ([#942](https://github.com/truecharts/apps/issues/942)) - diff --git a/charts/library/common/SCALE/CHANGELOG.md b/charts/library/common/SCALE/CHANGELOG.md index 10647173590..63d61597b87 100644 --- a/charts/library/common/SCALE/CHANGELOG.md +++ b/charts/library/common/SCALE/CHANGELOG.md @@ -5,4 +5,3 @@ #### Fix * ensure supplementalgroups when using devices are actually added ([#942](https://github.com/truecharts/apps/issues/942)) - diff --git a/charts/stable/unifi/CHANGELOG.md b/charts/stable/unifi/CHANGELOG.md index 40d35fb2928..d3b9d057e67 100644 --- a/charts/stable/unifi/CHANGELOG.md +++ b/charts/stable/unifi/CHANGELOG.md @@ -1,3 +1,17 @@ +# Changelog
+ + + +### [unifi-6.12.1](https://github.com/truecharts/apps/compare/unifi-6.12.0...unifi-6.12.1) (2021-09-09) + +#### Feat + +* Add regex validation to resources CPU and RAM for all apps ([#935](https://github.com/truecharts/apps/issues/935)) +* Pre-commit and tag-appversion syncing ([#926](https://github.com/truecharts/apps/issues/926)) + +#### Fix + +* correct unifi port names to be unique ([#947](https://github.com/truecharts/apps/issues/947)) ## [unifi-6.11.15](https://github.com/truecharts/apps/compare/unifi-6.11.14...unifi-6.11.15) (2021-09-08) diff --git a/charts/stable/unifi/Chart.yaml b/charts/stable/unifi/Chart.yaml index 7147eb0ad8d..20c4c99fdbd 100644 --- a/charts/stable/unifi/Chart.yaml +++ b/charts/stable/unifi/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: auto +appVersion: 6.2.26 dependencies: - name: common repository: https://truecharts.org/ diff --git a/charts/stable/unifi/SCALE/CHANGELOG.md b/charts/stable/unifi/SCALE/CHANGELOG.md index b163f361c5e..f9de34c46e4 100644 --- a/charts/stable/unifi/SCALE/CHANGELOG.md +++ b/charts/stable/unifi/SCALE/CHANGELOG.md @@ -1,7 +1,12 @@ - -## [unifi-6.12.0](https://github.com/truecharts/apps/compare/unifi-6.11.15...unifi-6.12.0) (2021-09-08) + +### [unifi-6.12.1](https://github.com/truecharts/apps/compare/unifi-6.12.0...unifi-6.12.1) (2021-09-09) -### Feat +#### Feat -* unifi guest portal and speedtest ([#921](https://github.com/truecharts/apps/issues/921)) +* Add regex validation to resources CPU and RAM for all apps ([#935](https://github.com/truecharts/apps/issues/935)) +* Pre-commit and tag-appversion syncing ([#926](https://github.com/truecharts/apps/issues/926)) + +#### Fix + +* correct unifi port names to be unique ([#947](https://github.com/truecharts/apps/issues/947)) diff --git a/charts/stable/unifi/helm-values.md b/charts/stable/unifi/helm-values.md index f6bba4f9d85..4563ef3a7d6 100644 --- a/charts/stable/unifi/helm-values.md +++ b/charts/stable/unifi/helm-values.md @@ -24,10 +24,10 @@ You will, however, be able to use all values referenced in the common chart here | persistence.config.size | string | `"100Gi"` | | | persistence.config.type | string | `"pvc"` | | | service.comm.enabled | bool | `true` | | -| service.comm.ports.tcp.enabled | bool | `true` | | -| service.comm.ports.tcp.port | int | `8080` | | -| service.comm.ports.tcp.protocol | string | `"TCP"` | | -| service.comm.ports.tcp.targetPort | int | `8080` | | +| service.comm.ports.comm.enabled | bool | `true` | | +| service.comm.ports.comm.port | int | `8080` | | +| service.comm.ports.comm.protocol | string | `"TCP"` | | +| service.comm.ports.comm.targetPort | int | `8080` | | | service.guestportal.enabled | bool | `false` | | | service.guestportal.ports.web.enabled | bool | `true` | | | service.guestportal.ports.web.port | int | `8880` | | @@ -40,15 +40,15 @@ You will, however, be able to use all values referenced in the common chart here | service.main.ports.main.port | int | `8443` | | | service.main.ports.main.protocol | string | `"HTTPS"` | | | service.speedtest.enabled | bool | `false` | | -| service.speedtest.ports.tcp.enabled | bool | `true` | | -| service.speedtest.ports.tcp.port | int | `6789` | | -| service.speedtest.ports.tcp.protocol | string | `"TCP"` | | -| service.speedtest.ports.tcp.targetPort | int | `6789` | | +| service.speedtest.ports.speedtest.enabled | bool | `true` | | +| service.speedtest.ports.speedtest.port | int | `6789` | | +| service.speedtest.ports.speedtest.protocol | string | `"TCP"` | | +| service.speedtest.ports.speedtest.targetPort | int | `6789` | | | service.stun.enabled | bool | `true` | | -| service.stun.ports.udp.enabled | bool | `true` | | -| service.stun.ports.udp.port | int | `3478` | | -| service.stun.ports.udp.protocol | string | `"UDP"` | | -| service.stun.ports.udp.targetPort | int | `3478` | | +| service.stun.ports.stun.enabled | bool | `true` | | +| service.stun.ports.stun.port | int | `3478` | | +| service.stun.ports.stun.protocol | string | `"UDP"` | | +| service.stun.ports.stun.targetPort | int | `3478` | | | strategy.type | string | `"Recreate"` | | All Rights Reserved - The TrueCharts Project diff --git a/docs/apps/stable/unifi/CHANGELOG.md b/docs/apps/stable/unifi/CHANGELOG.md index 40d35fb2928..d3b9d057e67 100644 --- a/docs/apps/stable/unifi/CHANGELOG.md +++ b/docs/apps/stable/unifi/CHANGELOG.md @@ -1,3 +1,17 @@ +# Changelog
+ + + +### [unifi-6.12.1](https://github.com/truecharts/apps/compare/unifi-6.12.0...unifi-6.12.1) (2021-09-09) + +#### Feat + +* Add regex validation to resources CPU and RAM for all apps ([#935](https://github.com/truecharts/apps/issues/935)) +* Pre-commit and tag-appversion syncing ([#926](https://github.com/truecharts/apps/issues/926)) + +#### Fix + +* correct unifi port names to be unique ([#947](https://github.com/truecharts/apps/issues/947)) ## [unifi-6.11.15](https://github.com/truecharts/apps/compare/unifi-6.11.14...unifi-6.11.15) (2021-09-08) diff --git a/docs/apps/stable/unifi/helm-values.md b/docs/apps/stable/unifi/helm-values.md index f6bba4f9d85..4563ef3a7d6 100644 --- a/docs/apps/stable/unifi/helm-values.md +++ b/docs/apps/stable/unifi/helm-values.md @@ -24,10 +24,10 @@ You will, however, be able to use all values referenced in the common chart here | persistence.config.size | string | `"100Gi"` | | | persistence.config.type | string | `"pvc"` | | | service.comm.enabled | bool | `true` | | -| service.comm.ports.tcp.enabled | bool | `true` | | -| service.comm.ports.tcp.port | int | `8080` | | -| service.comm.ports.tcp.protocol | string | `"TCP"` | | -| service.comm.ports.tcp.targetPort | int | `8080` | | +| service.comm.ports.comm.enabled | bool | `true` | | +| service.comm.ports.comm.port | int | `8080` | | +| service.comm.ports.comm.protocol | string | `"TCP"` | | +| service.comm.ports.comm.targetPort | int | `8080` | | | service.guestportal.enabled | bool | `false` | | | service.guestportal.ports.web.enabled | bool | `true` | | | service.guestportal.ports.web.port | int | `8880` | | @@ -40,15 +40,15 @@ You will, however, be able to use all values referenced in the common chart here | service.main.ports.main.port | int | `8443` | | | service.main.ports.main.protocol | string | `"HTTPS"` | | | service.speedtest.enabled | bool | `false` | | -| service.speedtest.ports.tcp.enabled | bool | `true` | | -| service.speedtest.ports.tcp.port | int | `6789` | | -| service.speedtest.ports.tcp.protocol | string | `"TCP"` | | -| service.speedtest.ports.tcp.targetPort | int | `6789` | | +| service.speedtest.ports.speedtest.enabled | bool | `true` | | +| service.speedtest.ports.speedtest.port | int | `6789` | | +| service.speedtest.ports.speedtest.protocol | string | `"TCP"` | | +| service.speedtest.ports.speedtest.targetPort | int | `6789` | | | service.stun.enabled | bool | `true` | | -| service.stun.ports.udp.enabled | bool | `true` | | -| service.stun.ports.udp.port | int | `3478` | | -| service.stun.ports.udp.protocol | string | `"UDP"` | | -| service.stun.ports.udp.targetPort | int | `3478` | | +| service.stun.ports.stun.enabled | bool | `true` | | +| service.stun.ports.stun.port | int | `3478` | | +| service.stun.ports.stun.protocol | string | `"UDP"` | | +| service.stun.ports.stun.targetPort | int | `3478` | | | strategy.type | string | `"Recreate"` | | All Rights Reserved - The TrueCharts Project diff --git a/docs/index.yaml b/docs/index.yaml index 96794b83c1e..f8fb4eb9864 100644 --- a/docs/index.yaml +++ b/docs/index.yaml @@ -165048,6 +165048,33 @@ entries: - https://github.com/truecharts/apps/releases/download/tvheadend-4.1.5/tvheadend-4.1.5.tgz version: 4.1.5 unifi: + - apiVersion: v2 + appVersion: 6.2.26 + created: "2021-09-09T15:24:32.7874288Z" + dependencies: + - name: common + repository: https://truecharts.org/ + version: 6.13.8 + description: Ubiquiti Network's Unifi Controller + digest: c1b9818d54375dc220760cc805e4823aadfd50e092d55a7567aeb1fcb8158cdf + home: https://github.com/truecharts/apps/tree/master/charts/incubator/unifi + icon: https://dl.ubnt.com/press/logo-UniFi.png + keywords: + - ubiquiti + - unifi + kubeVersion: '>=1.16.0-0' + maintainers: + - email: info@truecharts.org + name: TrueCharts + url: truecharts.org + name: unifi + sources: + - https://github.com/jacobalberty/unifi-docker + - https://unifi-network.ui.com + type: application + urls: + - https://github.com/truecharts/apps/releases/download/unifi-6.12.1/unifi-6.12.1.tgz + version: 6.12.1 - apiVersion: v2 appVersion: auto created: "2021-09-08T08:14:12.253871228Z" @@ -177824,4 +177851,4 @@ entries: urls: - https://github.com/truecharts/apps/releases/download/zwavejs2mqtt-3.1.5/zwavejs2mqtt-3.1.5.tgz version: 3.1.5 -generated: "2021-09-09T12:21:58.760122244Z" +generated: "2021-09-09T15:24:32.839977095Z" diff --git a/docs/manual/indepth/validation.md b/docs/manual/indepth/validation.md index 0833e4c5146..7d1d0cd6821 100644 --- a/docs/manual/indepth/validation.md +++ b/docs/manual/indepth/validation.md @@ -1,82 +1,82 @@ -# Validation - -Validation makes sure that your input is in the desired format, so the application can parse it without problems. -Below you can find more info about which fields have the mentioned validation and what formats are accepted. - -### All Apps ---- - -#### Resources and Devices - -__`CPU`__ -Accepted formats are: - -- Plain integer (eg. `1`) - This means 1 hyperthread -- Float (eg. `0.5`) - This means half hyperthread -- Milicpu (eg. `500m`) This means also half hyperthread - -Regex used to match those: `^([0-9]+)(\.[0-9]?|m?)$` -You can try live [here](https://regex101.com/r/pFoJTx/1) -More detailed info can be found [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu) - -__`Memory RAM`__ -Accepted formats are: - -- Suffixed with E, P, T, G, M, K (eg. `5G`) - This means 5Gigabyte of RAM -- Suffixed with Ei, Pi, Ti, Gi, Mi, Ki (eg. `5Gi`) - This means 5Gibibyte of RAM -- Plain integer (eg. `134217728`) - This means 128Megabyte of RAM -- As an exponent format (eg. `134e6`) This means ~128Megabyte of RAM - -Regex uesd to match those: `^([0-9.]+)([EPTGMK]i?|[EPTGMK]?|e[0-9]+)$` -You can try live [here](https://regex101.com/r/TUkZhN/1) -More detailed info can be found [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory) - - -### Per app validation - ---- - -#### Appdaemon - -__`LATITUDE`__ and __`LONGITUDE`__ -Accepted formats are: - -- Float (eg. `24.2028`) - -Regex used to match this: `^[0-9]{1,}\.{1}[0-9]{1,}$` -You can try live [here](https://regex101.com/r/xsLGWN/1) - - -#### Collabora - -__`Domain(s) using collabora`__ -Accepted formats are: - -- Single domain (eg. `cloud\.mydomain\.com`) - Each `.` has to be escaped with `\` -- Multiple domains (eg. `cloud\.mydomain\.com|nextcloud\.mydomain\.com`) - Each `.` has to be escaped with `\` and each domain is separated with `|` - -Regex used to match those: `^([a-z]{1,}\\{1}\.{1}[a-z]{1,}\\{1}\.{1}[a-z]{1,}\|{0,1})*$` -You can try live [here](https://regex101.com/r/LK02xa/1) - -__`Password for WebUI`__ -Accepted formats are: - -- Letters, Numbers, Symbols, Minimum 8 characters (eg. `dg523$*a`) - It accepts `a-z`, `A-Z`, `0-9` and `!@#$%^&*?` - -Regex used to match those: `[a-zA-Z0-9!@#$%^&*?]{8,}` -You can try live [here](https://regex101.com/r/ef3V88/1) - - -#### Fireflyiii - -__`APP_KEY`__ -Accepted formats are: - -- Letters, Numbers, Symbols, Exactly 32 characters (eg. `!oqVA9o2@br#$6vAyk8LLrDm54X5EtjD`) - It accepts `a-z`, `A-Z`, `0-9` and `!@#$%^&*?` - -You can try live [here](https://regex101.com/r/OR879w/1) -Regex used to match this: `[a-zA-Z0-9!@#$%^&*?]{32}` - ---- - -_If you find a field that you think it needs validation, please open an issue on github_ \ No newline at end of file +# Validation + +Validation makes sure that your input is in the desired format, so the application can parse it without problems. +Below you can find more info about which fields have the mentioned validation and what formats are accepted. + +### All Apps +--- + +#### Resources and Devices + +__`CPU`__ +Accepted formats are: + +- Plain integer (eg. `1`) - This means 1 hyperthread +- Float (eg. `0.5`) - This means half hyperthread +- Milicpu (eg. `500m`) This means also half hyperthread + +Regex used to match those: `^([0-9]+)(\.[0-9]?|m?)$` +You can try live [here](https://regex101.com/r/pFoJTx/1) +More detailed info can be found [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu) + +__`Memory RAM`__ +Accepted formats are: + +- Suffixed with E, P, T, G, M, K (eg. `5G`) - This means 5Gigabyte of RAM +- Suffixed with Ei, Pi, Ti, Gi, Mi, Ki (eg. `5Gi`) - This means 5Gibibyte of RAM +- Plain integer (eg. `134217728`) - This means 128Megabyte of RAM +- As an exponent format (eg. `134e6`) This means ~128Megabyte of RAM + +Regex uesd to match those: `^([0-9.]+)([EPTGMK]i?|[EPTGMK]?|e[0-9]+)$` +You can try live [here](https://regex101.com/r/TUkZhN/1) +More detailed info can be found [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory) + + +### Per app validation + +--- + +#### Appdaemon + +__`LATITUDE`__ and __`LONGITUDE`__ +Accepted formats are: + +- Float (eg. `24.2028`) + +Regex used to match this: `^[0-9]{1,}\.{1}[0-9]{1,}$` +You can try live [here](https://regex101.com/r/xsLGWN/1) + + +#### Collabora + +__`Domain(s) using collabora`__ +Accepted formats are: + +- Single domain (eg. `cloud\.mydomain\.com`) - Each `.` has to be escaped with `\` +- Multiple domains (eg. `cloud\.mydomain\.com|nextcloud\.mydomain\.com`) - Each `.` has to be escaped with `\` and each domain is separated with `|` + +Regex used to match those: `^([a-z]{1,}\\{1}\.{1}[a-z]{1,}\\{1}\.{1}[a-z]{1,}\|{0,1})*$` +You can try live [here](https://regex101.com/r/LK02xa/1) + +__`Password for WebUI`__ +Accepted formats are: + +- Letters, Numbers, Symbols, Minimum 8 characters (eg. `dg523$*a`) - It accepts `a-z`, `A-Z`, `0-9` and `!@#$%^&*?` + +Regex used to match those: `[a-zA-Z0-9!@#$%^&*?]{8,}` +You can try live [here](https://regex101.com/r/ef3V88/1) + + +#### Fireflyiii + +__`APP_KEY`__ +Accepted formats are: + +- Letters, Numbers, Symbols, Exactly 32 characters (eg. `!oqVA9o2@br#$6vAyk8LLrDm54X5EtjD`) - It accepts `a-z`, `A-Z`, `0-9` and `!@#$%^&*?` + +You can try live [here](https://regex101.com/r/OR879w/1) +Regex used to match this: `[a-zA-Z0-9!@#$%^&*?]{32}` + +--- + +_If you find a field that you think it needs validation, please open an issue on github_