Files
infrastructure/clusters/cl01tl/helm/dawarich/values.yaml
Renovate Bot 7446e1c586
Some checks failed
lint-test-helm / lint-helm (push) Successful in 1m34s
lint-test-helm / validate-kubeconform (push) Has been skipped
renovate / renovate (push) Has been cancelled
chore(deps): update dawarich to v1.6.0 (#5260)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [Freika/dawarich](https://github.com/Freika/dawarich) | minor | `1.4.0` → `1.6.0` |
| [freikin/dawarich](https://github.com/Freika/dawarich) | minor | `1.4.0` → `1.6.0` |

---

### Release Notes

<details>
<summary>Freika/dawarich (Freika/dawarich)</summary>

### [`v1.6.0`](https://github.com/Freika/dawarich/blob/HEAD/CHANGELOG.md#160---2026-03-29)

[Compare Source](https://github.com/Freika/dawarich/compare/1.5.1...1.6.0)

##### Added

- Immich users can now enrich their photos with geodata.
- Users can now optionally enable two-factor authentication (2FA) for their accounts in Settings > Two-Factor Authentication. Supported methods: TOTP apps (Google Authenticator, Authy, etc.) and backup codes. Once enabled, users will be prompted for a 2FA code on login. This adds an extra layer of security to protect your location data.

##### Fixed

- Fix OIDC account linking failing when the email from the identity provider has different casing than the existing Dawarich account [#&#8203;1983](https://github.com/Freika/dawarich/issues/1983).
- Fix confirmation dialogs being ignored when clicking "Cancel" — destructive actions (account deletion, import/export deletion, place deletion) fired regardless of user choice due to Rails UJS and Turbo both handling the same click [#&#8203;1978](https://github.com/Freika/dawarich/issues/1978).
- Fix Year in Review share link being empty when toggling public access [#&#8203;2418](https://github.com/Freika/dawarich/issues/2418).
- Fix address field on Points page being empty when geodata properties are unavailable [#&#8203;2419](https://github.com/Freika/dawarich/issues/2419).
- Fix Stats API returning the same country/city count for every year instead of per-year counts [#&#8203;2280](https://github.com/Freika/dawarich/issues/2280).
- Fix flyover countries (with no visited cities) still showing in monthly stats views [#&#8203;2423](https://github.com/Freika/dawarich/issues/2423).
- Fix importing Google Timeline files. [#&#8203;2427](https://github.com/Freika/dawarich/issues/2427)

### [`v1.5.1`](https://github.com/Freika/dawarich/blob/HEAD/CHANGELOG.md#151---2026-03-28)

[Compare Source](https://github.com/Freika/dawarich/compare/1.5.0...1.5.1)

##### Fixed

- Fix points and tracks interactions on Map v2 being unresponsive after the latest update.
- Fix creating demo data from the onboarding modal.
- Fix navbar for cloud trial users.
- Reset months stats instead of deleting when there is no data.

### [`v1.5.0`](https://github.com/Freika/dawarich/blob/HEAD/CHANGELOG.md#150---2026-03-28)

[Compare Source](https://github.com/Freika/dawarich/compare/1.4.0...1.5.0)

##### Added

- GPS noise filtering. An automatic system to detect ahd filter out points with unrealistic speeds, altitudes, or sudden jumps.
- Support for signing in via web view using our Android app.
- On the map settings page user now can enable and disable map layers.
- Onboarding modal now offers a third option to load demo data (3 days in Berlin, \~1000 points) so new users can instantly see what the map looks like. Demo imports bypass trial limits, are clearly labeled with a "Demo" badge, and can be deleted from a banner on the map page or from the imports list.
- New tool to the Map V2 tools: The "Day per Country" button will open a modal showing a breakdown of how many days the user has spent in each country, based on their points data. This is calculated by grouping points by country and counting unique days with at least one point in that country.

##### Changed

- \[Cloud] The point creation API endpoints are being excluded from the default Lite/Pro rate limits (200/1,000 requests/hour). They now have general rate limits of 10,000 requests/hour.
- Buildings numbers on map V2 are now shown on closer zoom.

##### Fixed

- Users who registered via Google (or other OAuth providers) can now change their password and email without needing to enter their current password.
- Fix deadlocks in reverse geocoding job when multiple Sidekiq workers update points concurrently.
- Fix `counter_cache_column` error in points counter reset job by using direct SQL count instead of `reset_counters`.
- Fix duplicate place records causing `ON CONFLICT` cardinality violations during reverse geocoding.
- Fix `TypeError` crash in transportation mode backfill when Google export files have unexpected JSON structure.
- Fix inability to disable visit suggestions background job due to conflicting Rails UJS and Turbo handlers causing request cancellation [#&#8203;2118](https://github.com/Freika/dawarich/issues/2118).
- Fix visit confirm/decline buttons firing twice [#&#8203;2379](https://github.com/Freika/dawarich/issues/2379).
- Fix clicking on a point in Map v2 silently moving it to the cursor position. Points now only update when intentionally dragged [#&#8203;2149](https://github.com/Freika/dawarich/issues/2149), [#&#8203;2150](https://github.com/Freika/dawarich/issues/2150).
- Fix visit name suggester not recognizing Photon reverse geocoding data format, causing all suggested places to show as "Suggested place" [#&#8203;2151](https://github.com/Freika/dawarich/issues/2151), [#&#8203;2377](https://github.com/Freika/dawarich/issues/2377).
- Fix visit edit form displaying UTC times instead of the user's configured timezone [#&#8203;2168](https://github.com/Freika/dawarich/issues/2168).
- Fix export deletion failing when the export file was manually removed from disk [#&#8203;915](https://github.com/Freika/dawarich/issues/915).
- Fix PhotoPrism `before` date filter being off by one day, excluding photos taken on the end date [#&#8203;747](https://github.com/Freika/dawarich/issues/747).
- Fix datetime inputs allowing 5-digit years on Chrome by adding `max` attribute to all datetime-local fields [#&#8203;578](https://github.com/Freika/dawarich/issues/578).
- Fix Points page datetime fields requiring seconds input, preventing search on mobile browsers and some desktop browsers [#&#8203;1040](https://github.com/Freika/dawarich/issues/1040), [#&#8203;1478](https://github.com/Freika/dawarich/issues/1478).
- Fix altitude values being truncated to integers instead of preserving decimal precision [#&#8203;1573](https://github.com/Freika/dawarich/issues/1573).
- Fix suggested visits keeping "Suggested Visit" name when confirmed directly without selecting a place [#&#8203;1725](https://github.com/Freika/dawarich/issues/1725).
- Fix visit name becoming empty and uneditable when clicking the name field and then clicking away [#&#8203;1776](https://github.com/Freika/dawarich/issues/1776).
- Fix trips page crashing with `undefined method 'coordinates' for nil` when trip path calculation hasn't completed yet [#&#8203;1356](https://github.com/Freika/dawarich/issues/1356), [#&#8203;1765](https://github.com/Freika/dawarich/issues/1765).
- Fix Immich/PhotoPrism photos on map not being filtered by the selected date range [#&#8203;1755](https://github.com/Freika/dawarich/issues/1755).
- Fix short trips (less than one full day) not showing photos due to PhotoPrism `before` date filter being exclusive [#&#8203;1688](https://github.com/Freika/dawarich/issues/1688).
- Fix health check endpoint (`/api/v1/health`) triggering unnecessary `User Load` database queries on every request [#&#8203;1770](https://github.com/Freika/dawarich/issues/1770).
- Fix points created via Overland API (Home Assistant, GPSLogger) not being automatically reverse geocoded after creation [#&#8203;1242](https://github.com/Freika/dawarich/issues/1242).
- Fix monthly stats map crashing with `Invalid LatLng object: (NaN, NaN)` when points have missing coordinates [#&#8203;1762](https://github.com/Freika/dawarich/issues/1762).
- Fix trips failing with self-signed certificates by leveraging per-integration SSL skip settings [#&#8203;455](https://github.com/Freika/dawarich/issues/455).
- Fix non-admin users unable to access Background Jobs settings to trigger reverse geocoding or manage visit suggestions [#&#8203;1714](https://github.com/Freika/dawarich/issues/1714).
- Fix family page map not loading due to `escape_javascript` producing invalid JSON in the Stimulus data attribute.
- Fix countries appearing in visited statistics despite only being driven through without spending meaningful time in any city [#&#8203;1595](https://github.com/Freika/dawarich/issues/1595), [#&#8203;1779](https://github.com/Freika/dawarich/issues/1779).
- Fix `migrate_to_new_storage` rake task crashing when export URL is blank, already migrated, or points to a directory instead of a file [#&#8203;1018](https://github.com/Freika/dawarich/issues/1018), [#&#8203;1037](https://github.com/Freika/dawarich/issues/1037).
- Fix selecting the only suggested place for a visit having no effect because the dropdown `change` event never fires with a single option [#&#8203;471](https://github.com/Freika/dawarich/issues/471).
- Fix city duration calculation undercounting time spent due to integer division truncating sub-minute GPS intervals to zero [#&#8203;2408](https://github.com/Freika/dawarich/issues/2408).
- Fix tooltips in data tables (Imports, Exports, Points) being hidden behind adjacent rows [#&#8203;2409](https://github.com/Freika/dawarich/issues/2409).
- Fix iOS QR code in Account settings being cut off on the right side [#&#8203;2406](https://github.com/Freika/dawarich/issues/2406).

</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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My45OS4wIiwidXBkYXRlZEluVmVyIjoiNDMuOTkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZG9ja2VyIl19-->

Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/5260
Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net>
Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
2026-03-30 16:27:21 +00:00

318 lines
9.6 KiB
YAML

dawarich:
controllers:
main:
type: deployment
replicas: 1
strategy: Recreate
containers:
main:
image:
repository: freikin/dawarich
tag: 1.6.0@sha256:5cba4d96fb57976fb6a956b8622365789d74a1178cc3ada1cb7541a4473993a9
command:
- "web-entrypoint.sh"
args:
- "bin/rails"
- "server"
- "-p"
- "3000"
- "-b"
- "::"
env:
- name: RAILS_ENV
value: production
- name: REDIS_URL
value: redis://dawarich-valkey.dawarich:6379
- name: DATABASE_HOST
valueFrom:
secretKeyRef:
name: dawarich-postgresql-18-cluster-app
key: host
- name: DATABASE_PORT
valueFrom:
secretKeyRef:
name: dawarich-postgresql-18-cluster-app
key: port
- name: DATABASE_USERNAME
valueFrom:
secretKeyRef:
name: dawarich-postgresql-18-cluster-app
key: user
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: dawarich-postgresql-18-cluster-app
key: password
- name: DATABASE_NAME
valueFrom:
secretKeyRef:
name: dawarich-postgresql-18-cluster-app
key: dbname
- name: APPLICATION_HOSTS
value: dawarich.alexlebens.net,dawarich.dawarich,localhost,::1,127.0.0.1
- name: TIME_ZONE
value: America/Chicago
- name: APPLICATION_PROTOCOL
value: http
- name: OIDC_ISSUER
value: https://authentik.alexlebens.net/application/o/darwich/
- name: OIDC_REDIRECT_URI
value: https://dawarich.alexlebens.net/users/auth/openid_connect/callback
- name: OIDC_CLIENT_ID
valueFrom:
secretKeyRef:
name: dawarich-oidc-secret
key: client
- name: OIDC_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: dawarich-oidc-secret
key: secret
- name: OIDC_PROVIDER_NAME
value: Authentik
- name: OIDC_AUTO_REGISTER
value: true
- name: PROMETHEUS_EXPORTER_ENABLED
value: true
- name: PROMETHEUS_EXPORTER_HOST
value: 0.0.0.0
- name: PROMETHEUS_EXPORTER_PORT
value: 9394
- name: SECRET_KEY_BASE
valueFrom:
secretKeyRef:
name: dawarich-key-secret
key: key
- name: RAILS_LOG_TO_STDOUT
value: true
- name: SELF_HOSTED
value: true
- name: STORE_GEODATA
value: true
probes:
liveness:
enabled: true
custom: true
spec:
exec:
command:
- /bin/sh
- -c
- "wget -qO - http://127.0.0.1:3000/api/v1/health | grep -q '\"status\"\\s*:\\s*\"ok\"'"
failureThreshold: 5
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
resources:
requests:
cpu: 20m
memory: 750Mi
sidekiq:
image:
repository: freikin/dawarich
tag: 1.6.0@sha256:5cba4d96fb57976fb6a956b8622365789d74a1178cc3ada1cb7541a4473993a9
command:
- "sidekiq-entrypoint.sh"
args:
- "sidekiq"
env:
- name: RAILS_ENV
value: production
- name: REDIS_URL
value: redis://dawarich-valkey.dawarich:6379
- name: DATABASE_HOST
valueFrom:
secretKeyRef:
name: dawarich-postgresql-18-cluster-app
key: host
- name: DATABASE_PORT
valueFrom:
secretKeyRef:
name: dawarich-postgresql-18-cluster-app
key: port
- name: DATABASE_USERNAME
valueFrom:
secretKeyRef:
name: dawarich-postgresql-18-cluster-app
key: user
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: dawarich-postgresql-18-cluster-app
key: password
- name: DATABASE_NAME
valueFrom:
secretKeyRef:
name: dawarich-postgresql-18-cluster-app
key: dbname
- name: APPLICATION_HOSTS
value: dawarich.alexlebens.net,dawarich.dawarich,localhost,::1,127.0.0.1
- name: TIME_ZONE
value: America/Chicago
- name: APPLICATION_PROTOCOL
value: http
- name: DISTANCE_UNIT
value: mi
- name: OIDC_ISSUER
value: https://authentik.alexlebens.net/application/o/darwich/
- name: OIDC_REDIRECT_URI
value: https://dawarich.alexlebens.net/users/auth/openid_connect/callback
- name: OIDC_CLIENT_ID
valueFrom:
secretKeyRef:
name: dawarich-oidc-secret
key: client
- name: OIDC_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: dawarich-oidc-secret
key: secret
- name: OIDC_PROVIDER_NAME
value: Authentik
- name: OIDC_AUTO_REGISTER
value: true
- name: PROMETHEUS_EXPORTER_ENABLED
value: true
- name: PROMETHEUS_EXPORTER_HOST
value: 0.0.0.0
- name: PROMETHEUS_EXPORTER_PORT
value: 9394
- name: SECRET_KEY_BASE
valueFrom:
secretKeyRef:
name: dawarich-key-secret
key: key
- name: RAILS_LOG_TO_STDOUT
value: true
- name: SELF_HOSTED
value: true
- name: STORE_GEODATA
value: true
probes:
liveness:
enabled: true
custom: true
spec:
exec:
command:
- pgrep
- -f
- sidekiq
failureThreshold: 5
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
service:
main:
controller: main
ports:
http:
port: 80
targetPort: 3000
protocol: TCP
metrics:
port: 9394
targetPort: 9394
protocol: TCP
serviceMonitor:
main:
selector:
matchLabels:
app.kubernetes.io/name: dawarich
app.kubernetes.io/instance: dawarich
serviceName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}'
endpoints:
- port: metrics
interval: 30s
scrapeTimeout: 15s
path: /metrics
route:
main:
kind: HTTPRoute
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: traefik-gateway
namespace: traefik
hostnames:
- dawarich.alexlebens.net
rules:
- backendRefs:
- name: dawarich
port: 80
matches:
- path:
type: PathPrefix
value: /
persistence:
storage:
forceRename: dawarich-storage
storageClass: ceph-block
accessMode: ReadWriteOnce
size: 5Gi
advancedMounts:
main:
main:
- path: /var/app/storage
readOnly: false
sidekiq:
- path: /var/app/storage
readOnly: false
public:
forceRename: dawarich-public
storageClass: ceph-block
accessMode: ReadWriteOnce
size: 5Gi
advancedMounts:
main:
main:
- path: /var/app/public
readOnly: false
sidekiq:
- path: /var/app/public
readOnly: false
watched:
forceRename: dawarich-watched
storageClass: ceph-block
accessMode: ReadWriteOnce
size: 1Gi
advancedMounts:
main:
main:
- path: /var/app/tmp/imports/watched
readOnly: false
sidekiq:
- path: /var/app/tmp/imports/watched
readOnly: false
postgres-18-cluster:
mode: recovery
cluster:
image:
repository: ghcr.io/cloudnative-pg/postgis
tag: 18-3-system-trixie
initdb:
postInitTemplateSQL:
- CREATE EXTENSION postgis;
- CREATE EXTENSION postgis_topology;
- CREATE EXTENSION fuzzystrmatch;
- CREATE EXTENSION postgis_tiger_geocoder;
recovery:
method: objectStore
objectStore:
index: 1
backup:
objectStore:
- name: garage-local
index: 1
destinationBucket: postgres-backups
externalSecretCredentialPath: /garage/home-infra/postgres-backups
isWALArchiver: true
scheduledBackups:
- name: live-backup
suspend: false
immediate: true
schedule: "0 10 14 * * *"
backupName: garage-local