diff --git a/charts/stable/appdaemon/Chart.yaml b/charts/stable/appdaemon/Chart.yaml index 64ece72c33e..916f0346dc1 100644 --- a/charts/stable/appdaemon/Chart.yaml +++ b/charts/stable/appdaemon/Chart.yaml @@ -5,7 +5,7 @@ dependencies: repository: https://library-charts.truecharts.org version: 11.1.2 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 icon: https://truecharts.org/img/hotlink-ok/chart-icons/appdaemon.png keywords: @@ -24,7 +24,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/appdaemon - https://github.com/AppDaemon/appdaemon type: application -version: 11.0.8 +version: 11.0.9 annotations: truecharts.org/catagories: | - utilities diff --git a/charts/stable/appdaemon/docs/validation.md b/charts/stable/appdaemon/docs/validation.md index 2c4f638f127..d70062900f6 100644 --- a/charts/stable/appdaemon/docs/validation.md +++ b/charts/stable/appdaemon/docs/validation.md @@ -1,12 +1,22 @@ # Input Validation -**`LATITUDE`** and **`LONGITUDE`** +**`LATITUDE`** Accepted formats are: - Float (eg. `24.2028`) +- Negative 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) +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/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) --- diff --git a/charts/stable/appdaemon/questions.yaml b/charts/stable/appdaemon/questions.yaml index f81086a3d44..3de6f92017a 100644 --- a/charts/stable/appdaemon/questions.yaml +++ b/charts/stable/appdaemon/questions.yaml @@ -51,7 +51,7 @@ questions: schema: type: string 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 - variable: LONGITUDE label: Longitude @@ -59,7 +59,7 @@ questions: schema: type: string 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 - variable: ELEVATION label: Elevation @@ -128,7 +128,7 @@ questions: label: ReadOnly Root Filesystem schema: type: boolean - default: true + default: false - variable: allowPrivilegeEscalation label: Allow Privilege Escalation schema: diff --git a/charts/stable/appdaemon/values.yaml b/charts/stable/appdaemon/values.yaml index dda1c3aee9b..852948a47b5 100644 --- a/charts/stable/appdaemon/values.yaml +++ b/charts/stable/appdaemon/values.yaml @@ -5,6 +5,7 @@ image: securityContext: runAsNonRoot: false + readOnlyRootFilesystem: false podSecurityContext: runAsUser: 0 @@ -19,6 +20,7 @@ env: LATITUDE: 46 LONGITUDE: -94 ELEVATION: 1217 + TIMEZONE: "{{ .Values.TZ }}" service: main: @@ -26,13 +28,6 @@ service: main: port: 5050 targetPort: 5050 - tcp: - enabled: true - ports: - tcp: - enabled: true - port: 51050 - targetPort: 51050 persistence: conf: