fix(appdaemon) valid_chars for long | lat (#5946)
* fix(appdaemon) valid_chars for long | lat + port * revert port and increase valid_chars for long/lat * rofs false * update validation.md * md Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@ dependencies:
|
|||||||
repository: https://library-charts.truecharts.org
|
repository: https://library-charts.truecharts.org
|
||||||
version: 11.1.2
|
version: 11.1.2
|
||||||
deprecated: false
|
deprecated: false
|
||||||
description: AppDaemon is a loosely coupled, multithreaded, sandboxed python execution environment for writing automation apps for Home Assistant home automation software. It also provides a configurable dashboard (HADashboard) suitable for wall mounted tablets.
|
description: AppDaemon is a loosely coupled, multi-threaded, sandboxed python execution environment for writing automation apps.
|
||||||
home: https://truecharts.org/charts/stable/appdaemon
|
home: https://truecharts.org/charts/stable/appdaemon
|
||||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/appdaemon.png
|
icon: https://truecharts.org/img/hotlink-ok/chart-icons/appdaemon.png
|
||||||
keywords:
|
keywords:
|
||||||
@@ -24,7 +24,7 @@ sources:
|
|||||||
- https://github.com/truecharts/charts/tree/master/charts/stable/appdaemon
|
- https://github.com/truecharts/charts/tree/master/charts/stable/appdaemon
|
||||||
- https://github.com/AppDaemon/appdaemon
|
- https://github.com/AppDaemon/appdaemon
|
||||||
type: application
|
type: application
|
||||||
version: 11.0.8
|
version: 11.0.9
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- utilities
|
- utilities
|
||||||
|
|||||||
@@ -1,12 +1,22 @@
|
|||||||
# Input Validation
|
# Input Validation
|
||||||
|
|
||||||
**`LATITUDE`** and **`LONGITUDE`**
|
**`LATITUDE`**
|
||||||
Accepted formats are:
|
Accepted formats are:
|
||||||
|
|
||||||
- Float (eg. `24.2028`)
|
- Float (eg. `24.2028`)
|
||||||
|
- Negative Float (eg. `-24.2028`)
|
||||||
|
|
||||||
Regex used to match this: `^[0-9]{1,}\.{1}[0-9]{1,}$`
|
Regex used to match this: `^(\+|-)?(?:90(?:(?:\.0{1,15})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,15})?))$`
|
||||||
You can try live [here](https://regex101.com/r/xsLGWN/1)
|
You can try live [here](https://regex101.com/r/kzRvvw/1)
|
||||||
|
|
||||||
|
**`LONGITUDE`**
|
||||||
|
Accepted formats are:
|
||||||
|
|
||||||
|
- Float (eg. `24.2028`)
|
||||||
|
- Negative Float (eg. `-24.2028`)
|
||||||
|
|
||||||
|
Regex used to match this: `^(\+|-)?(?:180(?:(?:\.0{1,15})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,15})?))$`
|
||||||
|
You can try live [here](https://regex101.com/r/EjuPpL/1)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
valid_chars: '^[0-9]{1,}\.{1}[0-9]{1,}$'
|
valid_chars: '^(\+|-)?(?:90(?:(?:\.0{1,15})?)|(?:[0-9]|[1-8][0-9])(?:(?:\.[0-9]{1,15})?))$'
|
||||||
required: true
|
required: true
|
||||||
- variable: LONGITUDE
|
- variable: LONGITUDE
|
||||||
label: Longitude
|
label: Longitude
|
||||||
@@ -59,7 +59,7 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
valid_chars: '^[0-9]{1,}\.{1}[0-9]{1,}$'
|
valid_chars: '^(\+|-)?(?:180(?:(?:\.0{1,15})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,15})?))$'
|
||||||
required: true
|
required: true
|
||||||
- variable: ELEVATION
|
- variable: ELEVATION
|
||||||
label: Elevation
|
label: Elevation
|
||||||
@@ -128,7 +128,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:
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ image:
|
|||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
|
readOnlyRootFilesystem: false
|
||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
@@ -19,6 +20,7 @@ env:
|
|||||||
LATITUDE: 46
|
LATITUDE: 46
|
||||||
LONGITUDE: -94
|
LONGITUDE: -94
|
||||||
ELEVATION: 1217
|
ELEVATION: 1217
|
||||||
|
TIMEZONE: "{{ .Values.TZ }}"
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
@@ -26,13 +28,6 @@ service:
|
|||||||
main:
|
main:
|
||||||
port: 5050
|
port: 5050
|
||||||
targetPort: 5050
|
targetPort: 5050
|
||||||
tcp:
|
|
||||||
enabled: true
|
|
||||||
ports:
|
|
||||||
tcp:
|
|
||||||
enabled: true
|
|
||||||
port: 51050
|
|
||||||
targetPort: 51050
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
conf:
|
conf:
|
||||||
|
|||||||
Reference in New Issue
Block a user