This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/teslamate/teslamate](https://redirect.github.com/teslamate-org/teslamate) | patch | `beb987a` -> `5a6800a` | Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>teslamate-org/teslamate (docker.io/teslamate/teslamate)</summary> ### [`v1.31.1`](https://redirect.github.com/teslamate-org/teslamate/blob/HEAD/CHANGELOG.md#1311---2024-10-29) [Compare Source](https://redirect.github.com/teslamate-org/teslamate/compare/v1.31.0...v1.31.1) This release primarily prevents beam.smp from overloading the CPU on ARM hosts. It also includes a number of other bug fixes and performance improvements. Enjoy it. Please also note: [v1.31.0 Release Notes](https://redirect.github.com/teslamate-org/teslamate/releases/tag/v1.31.0) ##### New features ##### Improvements and bug fixes - fix: use elixir-1.17.3-otp-26 to avoid beam.smp chewing CPU on arm ([#​4319](https://redirect.github.com/teslamate-org/teslamate/issues/4319) - [@​swiffer](https://redirect.github.com/swiffer) and [@​JakobLichterfeld](https://redirect.github.com/JakobLichterfeld)) ##### Build, CI, internal - ci(fix): update cleanup_caches.yml to use new cache management commands and fix permissions ([d6793ce](https://redirect.github.com/teslamate-org/teslamate/commit/d6793ce5717687b9e984067bf4c208415e15fdac), [b0b694f](https://redirect.github.com/teslamate-org/teslamate/commit/b0b694fc8c3c45036aafda45200f3b0d068a2f50), [16bb503](https://redirect.github.com/teslamate-org/teslamate/commit/16bb5032c7d81cb86e76cc19662e3332456291a0) - [@​JakobLichterfeld](https://redirect.github.com/JakobLichterfeld)) - ci: Add workflow to manually cleanup largest 100 caches ([dad7e3d](https://redirect.github.com/teslamate-org/teslamate/commit/dad7e3dea0ae1d799398bf1b31a0d598eff784bf), [523419d](https://redirect.github.com/teslamate-org/teslamate/commit/523419d35a610c7b06bbf7e9c2edd105e7d089aa) - [@​JakobLichterfeld](https://redirect.github.com/JakobLichterfeld)) ##### Dashboards - perf: add ideal_battery_range_km as query condition ([#​4305](https://redirect.github.com/teslamate-org/teslamate/issues/4305) - [@​swiffer](https://redirect.github.com/swiffer)) - fix: re-add missing changes from pr 4124 ([#​4310](https://redirect.github.com/teslamate-org/teslamate/issues/4310) - [@​swiffer](https://redirect.github.com/swiffer)) - feat: add max speed & speed histogram to drive stats ([#​4253](https://redirect.github.com/teslamate-org/teslamate/issues/4253) - [@​js94x](https://redirect.github.com/js94x)) - fix: remove convert_km from kwh calculations in timeline dashboard ([#​4318](https://redirect.github.com/teslamate-org/teslamate/issues/4318) - [@​swiffer](https://redirect.github.com/swiffer)) - fix: ensure dutch-tax dashboard is not repeating multiple times per car (row and table) ([#​4317](https://redirect.github.com/teslamate-org/teslamate/issues/4317) - [@​swiffer](https://redirect.github.com/swiffer)) ##### Translations - Update default.po for thai ([#​4312](https://redirect.github.com/teslamate-org/teslamate/issues/4312) - [@​tomzt](https://redirect.github.com/tomzt)) - Spanish translation of missing items ([#​4320](https://redirect.github.com/teslamate-org/teslamate/issues/4320) -[@​ferminmg](https://redirect.github.com/ferminmg)) ##### Documentation - docs: fix ghcr image path in contributing guide ([#​4309](https://redirect.github.com/teslamate-org/teslamate/issues/4309) - [@​swiffer](https://redirect.github.com/swiffer)) </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://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzQuMCIsInVwZGF0ZWRJblZlciI6IjM4LjEzNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
85 lines
2.2 KiB
YAML
85 lines
2.2 KiB
YAML
image:
|
|
repository: docker.io/teslamate/teslamate
|
|
pullPolicy: IfNotPresent
|
|
tag: 1.31.1@sha256:5a6800a89fe326addb03f8fc3001b914e74119468ed80d7e84574a7c41bd1679
|
|
|
|
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
|