TrueChartsClone/charts/incubator/teslamate/values.yaml

85 lines
2.2 KiB
YAML
Raw Normal View History

feat(teslamate) Add teslamate (#20123) **Description** Add teslamate **⚙️ Type of change** - [X] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [x] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [x] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning - [X] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [X] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
2024-04-13 10:34:04 +00:00
image:
repository: teslamate/teslamate
pullPolicy: IfNotPresent
chore(deps): update container image teslamate/teslamate to v1.29.2@90dac68 by renovate (#23518) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [teslamate/teslamate](https://togithub.com/teslamate-org/teslamate) | patch | `1.29.1` -> `1.29.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>teslamate-org/teslamate (teslamate/teslamate)</summary> ### [`v1.29.2`](https://togithub.com/teslamate-org/teslamate/blob/HEAD/CHANGELOG.md#1292) [Compare Source](https://togithub.com/teslamate-org/teslamate/compare/v1.29.1...v1.29.2) This release improve TeslaMate behavior on Tesla API rate limits, which occur from time to time. We respect the retry-after header on 429 response code to not hammer the API unnecessarily in these cases. ##### New features - feat: Dynamic endpoints and token to use official Tesla API (self-hosted or from third party provider) ([#&#8203;3903](https://togithub.com/teslamate-org/teslamate/issues/3903) - [@&#8203;jlestel](https://togithub.com/jlestel)) ##### Improvements and bug fixes - fix: Update statistics.json: change back uid ([#&#8203;3907](https://togithub.com/teslamate-org/teslamate/issues/3907) -[@&#8203;DrMichael](https://togithub.com/DrMichael)) - feat: Update TeslaFi importer to accept newer export formats ([#&#8203;3431](https://togithub.com/teslamate-org/teslamate/issues/3431) - [@&#8203;ithinuel](https://togithub.com/ithinuel)) - feat: Upgrade PostgreSQL to v16 ([#&#8203;3884](https://togithub.com/teslamate-org/teslamate/issues/3884) -[@&#8203;enoch85](https://togithub.com/enoch85)) - feat: Respect Retry-After header on 429 response code ([#&#8203;3943](https://togithub.com/teslamate-org/teslamate/issues/3943) - [@&#8203;jlestel](https://togithub.com/jlestel)) - feat: use Grafana 11.0.0 ([#&#8203;3895](https://togithub.com/teslamate-org/teslamate/issues/3895) - [@&#8203;swiffer](https://togithub.com/swiffer)) ##### Build, CI, internal - ci: Upgrade PostgreSQL to v16 in elixir workflow ([#&#8203;3916](https://togithub.com/teslamate-org/teslamate/issues/3916) - [@&#8203;JakobLichterfeld](https://togithub.com/JakobLichterfeld)) - build(deps): bump docker/login-action from 3.1.0 to 3.2.0 ([#&#8203;3933](https://togithub.com/teslamate-org/teslamate/issues/3933)) - build(deps): bump elixir from 1.16.1-otp-26 to 1.16.2-otp-26 ([#&#8203;3935](https://togithub.com/teslamate-org/teslamate/issues/3935) - [@&#8203;JakobLichterfeld](https://togithub.com/JakobLichterfeld)) - build(deps): bump braces from 3.0.2 to 3.0.3 in /website [#&#8203;3967](https://togithub.com/teslamate-org/teslamate/issues/3967) ##### Dashboards - Remove A lot of empty space on the drive graph ([#&#8203;3927](https://togithub.com/teslamate-org/teslamate/issues/3927) - [@&#8203;jheredianet](https://togithub.com/jheredianet)) - Add more ways to recognize Supercharger locations ([#&#8203;3863](https://togithub.com/teslamate-org/teslamate/issues/3863) -[@&#8203;woyteck1](https://togithub.com/woyteck1)) - Projected Range fix (using usable_battery_level) ([#&#8203;3859](https://togithub.com/teslamate-org/teslamate/issues/3859) -[@&#8203;woyteck1](https://togithub.com/woyteck1)) - Update and fix timeline dashboard ([#&#8203;3951](https://togithub.com/teslamate-org/teslamate/issues/3951) -[@&#8203;jheredianet](https://togithub.com/jheredianet)) - Remove A lot of empty space on the drive graph ([#&#8203;3950](https://togithub.com/teslamate-org/teslamate/issues/3950) -[@&#8203;jheredianet](https://togithub.com/jheredianet)) - Integrate LFP specific dashboards into regular dashboards ([#&#8203;3966](https://togithub.com/teslamate-org/teslamate/issues/3966) - [@&#8203;swiffer](https://togithub.com/swiffer)) - Export all Dashboards via Grafana 11.0.0 ([#&#8203;3971](https://togithub.com/teslamate-org/teslamate/issues/3971) - [@&#8203;swiffer](https://togithub.com/swiffer)) ##### Translations - feat: Update default.po for Thai translation ([#&#8203;3906](https://togithub.com/teslamate-org/teslamate/issues/3906), [#&#8203;3945](https://togithub.com/teslamate-org/teslamate/issues/3945) - [@&#8203;tomzt](https://togithub.com/tomzt)) ##### Documentation - doc: update backup path location to current directory to work around no write access to placeholder directory issue ([#&#8203;3908](https://togithub.com/teslamate-org/teslamate/issues/3908) - [@&#8203;JakobLichterfeld](https://togithub.com/JakobLichterfeld)) - doc: Update MQTT examples of location/active_route ([#&#8203;3919](https://togithub.com/teslamate-org/teslamate/issues/3919) - [@&#8203;longzheng](https://togithub.com/longzheng)) - doc: Update HomeAssistant docs to use new MQTT values ([#&#8203;3923](https://togithub.com/teslamate-org/teslamate/issues/3923) - [@&#8203;longzheng](https://togithub.com/longzheng)) - doc: Add network flows that should be authorized ([#&#8203;3886](https://togithub.com/teslamate-org/teslamate/issues/3886) - [@&#8203;fl42](https://togithub.com/fl42)) - doc: Update projects.md with new MMM ([#&#8203;3953](https://togithub.com/teslamate-org/teslamate/issues/3953) - [@&#8203;top-gun](https://togithub.com/top-gun)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTIuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQxMi4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
2024-06-18 18:21:25 +00:00
tag: 1.29.2@sha256:90dac689008feb7321a5b501de54241357bef86444e489389d5c9c8b26341db3
feat(teslamate) Add teslamate (#20123) **Description** Add teslamate **⚙️ Type of change** - [X] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [x] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [x] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [x] ⬆️ I increased versions for any altered app according to semantic versioning - [X] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [X] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._
2024-04-13 10:34:04 +00:00
securityContext:
container:
readOnlyRootFilesystem: false
service:
main:
ports:
main:
protocol: http
port: 4000
workload:
main:
replicas: 1
strategy: RollingUpdate
podSpec:
containers:
main:
env:
ENCRYPTION_KEY:
secretKeyRef:
name: teslamate-secrets
key: TESLAMATE_ENCRYPTION_KEY
DATABASE_USER: "{{ .Values.cnpg.main.user }}"
DATABASE_PASS:
secretKeyRef:
name: cnpg-main-user
key: password
DATABASE_NAME: "{{ .Values.cnpg.main.database }}"
DATABASE_HOST:
secretKeyRef:
name: cnpg-main-urls
key: host
DISABLE_MQTT: true
MQTT_HOST: ""
MQTT_PORT: 1883
MQTT_USERNAME: ""
MQTT_PASSWORD: ""
configmap:
datasource:
enabled: true
labels:
grafana_datasources: "1"
data:
datasourceteslamatepsql.yaml: |-
apiVersion: 1
datasources:
- name: TeslaMate
type: postgres
uid: TeslaMate
url: {{ printf "%s.%s:5432" (.Values.cnpg.main.creds.host | trimAll "\"") .Release.Namespace }}
access: proxy
user: {{ .Values.cnpg.main.user }}
secureJsonData:
password: {{ .Values.cnpg.main.creds.password | default "na" }}
jsonData:
database: {{ .Values.cnpg.main.database }}
sslmode: 'disable' # disable/require/verify-ca/verify-full
maxOpenConns: 100 # Grafana v5.4+
maxIdleConns: 100 # Grafana v5.4+
maxIdleConnsAuto: true # Grafana v9.5.1+
connMaxLifetime: 14400 # Grafana v5.4+
postgresVersion: 1500 # 903=9.3, 904=9.4, 905=9.5, 906=9.6, 1000=10
timescaledb: false
portal:
open:
enabled: true
cnpg:
main:
enabled: true
user: teslamate
database: teslamate
cluster:
initdb:
postInitApplicationSQL:
- ALTER USER teslamate WITH SUPERUSER