Files
truecharts/charts/stable/teslamate/values.yaml
T
TrueCharts BotandGitHub 3f984d9239 chore(helm): update image docker.io/teslamate/teslamate 1.33.0 → 2.0.0 (#37018)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[docker.io/teslamate/teslamate](https://redirect.github.com/teslamate-org/teslamate)
| major | `0767c59` -> `e69b715` |

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>

###
[`v2.0.0`](https://redirect.github.com/teslamate-org/teslamate/blob/HEAD/CHANGELOG.md#200---2025-04-26)

[Compare
Source](https://redirect.github.com/teslamate-org/teslamate/compare/v1.33.0...v2.0.0)

**This is a breaking change release:** TeslaMate uses PostgreSQL as
database, this is an external dependency and needs to be updated by
yourself. We now require PostgreSQL 16.7 or 17.3 or higher as we are
upgrading the bundled earthdistance extension to v1.2. TeslaMate will
now fail to start if you are using an older version. Ensure to upgrade
your database before upgrading TeslaMate. To upgrade PostgreSQL, you
need to follow these instructions:

- [Backup your
data](https://docs.teslamate.org/docs/maintenance/backup_restore#backup)
- [Upgrade PostgreSQL to
postgres:17](https://docs.teslamate.org/docs/maintenance/upgrading_postgres)
(Yes, you will have to erase your data, which is why you need your
backup in the first place.)
- [Upgrade TeslaMate to this
version](https://docs.teslamate.org/docs/upgrading)
- [Backup your data after the
upgrade](https://docs.teslamate.org/docs/maintenance/backup_restore#backup)

**Note for user which revoked permissions:** If the SUPERUSER privilege
has been revoked after the initial (manual) installation, it must be
temporarily granted for pending earthdistance migrations to succeed. The
privilege can then be safely revoked.

As always, there are also many improvements. The webview now shows the
TPMS values in the low pressure tooltip. We use the latest Grafana
11.6.1 and have improved the battery health dashboard and aligned the
range calculation through the dashboards. Additionally time zone
handling has been improved and the date formats are now based on the
browser locale.

Enjoy it.

**Note for contributors:** The default branch was renamed to `main`.
Please update your local repository accordingly (see GitHub hint when
visiting
[teslamate-org/teslamate](https://redirect.github.com/teslamate-org/teslamate)
or [GitHub
documentation](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch#updating-a-local-clone-after-a-branch-name-changes)
for more information).

##### Breaking Changes

- feat: check Postgres version on startup, require 16.7 / 17.3, update
earthdistance extension
([#&#8203;4648](https://redirect.github.com/teslamate-org/teslamate/issues/4648)
- [@&#8203;swiffer](https://redirect.github.com/swiffer))

##### New features

- feat: show tpms value to the low pressure tooltip in webview
([#&#8203;4654](https://redirect.github.com/teslamate-org/teslamate/issues/4654)
- [@&#8203;NirKli](https://redirect.github.com/NirKli))

##### Improvements and bug fixes

- fix(nix): non-recursive provider for ../grafana/dashboards
([#&#8203;4680](https://redirect.github.com/teslamate-org/teslamate/issues/4680)
- [@&#8203;swiffer](https://redirect.github.com/swiffer))
- feat: use Grafana 11.6.1
([#&#8203;4662](https://redirect.github.com/teslamate-org/teslamate/issues/4662)
- [@&#8203;swiffer](https://redirect.github.com/swiffer))

##### Build, CI, internal

- build(deps): bump image-size from 1.2.0 to 1.2.1 in /website
([#&#8203;4622](https://redirect.github.com/teslamate-org/teslamate/issues/4622))
- ci: switch to cache-nix-action as Magic Nix Cache is deprecated
([#&#8203;4626](https://redirect.github.com/teslamate-org/teslamate/issues/4626)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))
- build(deps): update flake.lock
([#&#8203;4603](https://redirect.github.com/teslamate-org/teslamate/issues/4603))
- build(deps): bump crate-ci/typos from 1.30.0 to 1.31.1
([#&#8203;4611](https://redirect.github.com/teslamate-org/teslamate/issues/4611))
- build(deps): bump docker/login-action from 3.3.0 to 3.4.0
([#&#8203;4612](https://redirect.github.com/teslamate-org/teslamate/issues/4612))
- build(deps): bump actions/cache from 4.2.2 to 4.2.3
([#&#8203;4613](https://redirect.github.com/teslamate-org/teslamate/issues/4613))
- build(deps): bump tesla from 1.13.2 to 1.14.1
([#&#8203;4616](https://redirect.github.com/teslamate-org/teslamate/issues/4616))
- ci(sec): remove pull_request_target workflow triggers to improve sec
even further, the downside is that test images are now only created for
repo's own PRs
([#&#8203;4637](https://redirect.github.com/teslamate-org/teslamate/issues/4637)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld)
/ Thanks to [@&#8203;Firebasky](https://redirect.github.com/Firebasky)
for responsibly disclosing the vulnerability)
- ci: fix ghcr build
([..ddf85e6](https://redirect.github.com/teslamate-org/teslamate/commit/ba35f417014e6be742ee2b0713cfa7876ddf85e6)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))
- ci: ensure ghcr images build correctly even if branch contains
backslash
([#&#8203;4655](https://redirect.github.com/teslamate-org/teslamate/issues/4655)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))
- ci: skip ghcr build for PRs from outside repo
([#&#8203;4660](https://redirect.github.com/teslamate-org/teslamate/issues/4660)
and
[462b568](https://redirect.github.com/teslamate-org/teslamate/commit/462b5680abbfbdfd26f028d88f7a62f4ae4183cd)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))
- build(deps): bump estree-util-value-to-estree in /website
([#&#8203;4641](https://redirect.github.com/teslamate-org/teslamate/issues/4641))
- build(deps): update flake.lock
([#&#8203;4653](https://redirect.github.com/teslamate-org/teslamate/issues/4653))
- fix(nix): update mix dependency hash in nix builds
([3d08431](https://redirect.github.com/teslamate-org/teslamate/commit/3d08431ee3de0eaf3d3045aa0018c687627c4dac)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))
- ci(dependabot): add ignore rules for path-based dependencies
([#&#8203;4666](https://redirect.github.com/teslamate-org/teslamate/issues/4666)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))
- sec: upgrade esbuild to 0.25.2 and esbuild-sass-plugin to 3.3.1 to
avoid GHSA-67mh-4wv8-2f99
([#&#8203;4669](https://redirect.github.com/teslamate-org/teslamate/issues/4669)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))
- build(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 in
/website
([#&#8203;4670](https://redirect.github.com/teslamate-org/teslamate/issues/4670))
- build(deps): bump phoenix_html from 4.2.0 to 4.2.1
([#&#8203;4667](https://redirect.github.com/teslamate-org/teslamate/issues/4667))
- build(deps): bump ex_cldr from 2.40.2 to 2.42.0
([#&#8203;4615](https://redirect.github.com/teslamate-org/teslamate/issues/4615))
- build(deps): bump react from 18.3.1 to 19.1.0 and docusaurus/core from
3.4.0 to 3.7.0 in /website
([#&#8203;4618](https://redirect.github.com/teslamate-org/teslamate/issues/4618)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))
- build(deps): bump phoenix_ecto from 4.6.2 to 4.6.3
([#&#8203;4333](https://redirect.github.com/teslamate-org/teslamate/issues/4333))
- build(deps): update flake.lock
([#&#8203;4674](https://redirect.github.com/teslamate-org/teslamate/issues/4674))
- fix(nix): update mix dependency hash in nix builds
([#&#8203;4695](https://redirect.github.com/teslamate-org/teslamate/issues/4695)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))
- chore: rename branch to main
([#&#8203;4700](https://redirect.github.com/teslamate-org/teslamate/issues/4700)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld)
and [@&#8203;adriankumpf](https://redirect.github.com/adriankumpf))
- build(deps-dev): bump phoenix_live_reload from 1.5.3 to 1.6.0
([#&#8203;4699](https://redirect.github.com/teslamate-org/teslamate/issues/4699))
- build(deps): bump tortoise311 from 0.12.0 to 0.12.1
([#&#8203;4698](https://redirect.github.com/teslamate-org/teslamate/issues/4698))
- build(deps): bump nix-community/cache-nix-action from 6.1.2 to 6.1.3
([#&#8203;4696](https://redirect.github.com/teslamate-org/teslamate/issues/4696))
- build(deps): bump floki from 0.36.3 to 0.37.1
([#&#8203;4697](https://redirect.github.com/teslamate-org/teslamate/issues/4697))

##### Dashboards

- fix: improve calc for usable (now) in battery health dashboard
([#&#8203;4644](https://redirect.github.com/teslamate-org/teslamate/issues/4644)
- [@&#8203;swiffer](https://redirect.github.com/swiffer))
- feat: make use of car filter, add timefilter in locations dashboard
([#&#8203;4647](https://redirect.github.com/teslamate-org/teslamate/issues/4647)
- [@&#8203;swiffer](https://redirect.github.com/swiffer))
- fix: use same rated range calculation in updates dashboard as in
battery health dashboard
([#&#8203;4682](https://redirect.github.com/teslamate-org/teslamate/issues/4682)
- [@&#8203;swiffer](https://redirect.github.com/swiffer))
- fix: explicitly set height of home dashboard background image based on
current layout & grafana css
([#&#8203;4681](https://redirect.github.com/teslamate-org/teslamate/issues/4681)
-[@&#8203;swiffer](https://redirect.github.com/swiffer))
- fix: set $\__timezone explicitly in dashboards to ensure truncation is
done with respect to the Grafana timezone
([#&#8203;4684](https://redirect.github.com/teslamate-org/teslamate/issues/4684)
- [@&#8203;swiffer](https://redirect.github.com/swiffer))
- fix: issues when using browser locale for date formats
([#&#8203;4662](https://redirect.github.com/teslamate-org/teslamate/issues/4662)
- [@&#8203;swiffer](https://redirect.github.com/swiffer))
- fix: widens Date Columns to fully show date strings formatted in US
locale
([#&#8203;4662](https://redirect.github.com/teslamate-org/teslamate/issues/4662)
- [@&#8203;swiffer](https://redirect.github.com/swiffer))

##### Translations

##### Documentation

- chore(issue-template): add PostgreSQL version input and checkbox for
latest version check in bug report template
([#&#8203;4643](https://redirect.github.com/teslamate-org/teslamate/issues/4643)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))
- docs: allow to add energy added to the Home Assistant's Energy tab to
measure how much energy each session uses
([#&#8203;4659](https://redirect.github.com/teslamate-org/teslamate/issues/4659)
- [@&#8203;alexsapran](https://redirect.github.com/alexsapran))
- docs: update changelog with breaking changes description
([#&#8203;4691](https://redirect.github.com/teslamate-org/teslamate/issues/4691)
-
[@&#8203;JakobLichterfeld](https://redirect.github.com/JakobLichterfeld))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWFqb3IiXX0=-->
2025-07-06 09:02:10 +00:00

81 lines
2.2 KiB
YAML

image:
repository: docker.io/teslamate/teslamate
pullPolicy: IfNotPresent
tag: 2.0.0@sha256:e69b7155b8af81b0cdbcdc5e465292a9b8df5cf578bdb1d880666c9928dd7707
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_datasource: "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
cnpg:
main:
enabled: true
user: teslamate
database: teslamate
cluster:
initdb:
postInitApplicationSQL:
- ALTER USER teslamate WITH SUPERUSER