This PR contains the following updates: | Package | Update | Change | |---|---|---| | [directus/directus](https://github.com/directus/directus) | minor | `11.16.1` → `11.17.0` | --- ### Release Notes <details> <summary>directus/directus (directus/directus)</summary> ### [`v11.17.0`](https://github.com/directus/directus/releases/tag/v11.17.0) [Compare Source](https://github.com/directus/directus/compare/v11.16.1...v11.17.0) ##### ⚠️ Potential Breaking Changes **Added support for importing data in the background ([#​26914](https://github.com/directus/directus/pull/26914))** Imports now automatically time out after 1 hour, with a maximum of 20 running concurrently. These limits can be configured via `IMPORT_TIMEOUT` and `IMPORT_MAX_CONCURRENCY`, respectively. **Improved build times using `tsdown`’s `oxc-transform` ([#​26604](https://github.com/directus/directus/pull/26604))** Exports previously available from `@directus/types/collab` are now exported directly from `@directus/types` **Shrunk app UI to 90% and converted all px to rem (16px browser default) ([#​26826](https://github.com/directus/directus/pull/26826))** Potential breaking change: The app UI has been shrunk to 90% of its previous size. Extensions that rely on hardcoded px values or the old 14px root font-size may render incorrectly — all app sizing now uses rem based on the 16px browser default. - **[@​directus/api](https://github.com/directus/api)** - Added support for importing data in the background ([#​26914](https://github.com/directus/directus/pull/26914) by [@​Nitwel](https://github.com/Nitwel)) - **[@​directus/types](https://github.com/directus/types)** - Improved build times using `tsdown`’s `oxc-transform` ([#​26604](https://github.com/directus/directus/pull/26604) by [@​Nitwel](https://github.com/Nitwel)) - **[@​directus/specs](https://github.com/directus/specs)** - Updated fast-xml-parser, qs, minimatch, tar, undici, vue-split-panel and flatted dependencies ([#​26951](https://github.com/directus/directus/pull/26951) by [@​br41nslug](https://github.com/br41nslug)) ##### ✨ New Features & Improvements - **[@​directus/app](https://github.com/directus/app)** - Added support for importing data in the background ([#​26914](https://github.com/directus/directus/pull/26914) by [@​Nitwel](https://github.com/Nitwel)) - Added utility endpoint and UI to generate translations collections and fields. ([#​26742](https://github.com/directus/directus/pull/26742) by [@​bryantgillespie](https://github.com/bryantgillespie)) - Added deployment provider link on the run detail page, opening deployments directly in Vercel or Netlify dashboards. ([#​26888](https://github.com/directus/directus/pull/26888) by [@​LZylstra](https://github.com/LZylstra)) - Shrunk app UI to 90% and converted all px to rem (16px browser default) ([#​26826](https://github.com/directus/directus/pull/26826) by [@​formfcw](https://github.com/formfcw)) - **[@​directus/api](https://github.com/directus/api)** - Added tool search tool for Anthropic AI provider to reduce context usage ([#​26864](https://github.com/directus/directus/pull/26864) by [@​bryantgillespie](https://github.com/bryantgillespie)) - Added support for setting the `secure` attribute on OpenID/OAuth2 cookies via the `AUTH_<PROVIDER>_COOKIE_SECURE` environment variable ([#​26628](https://github.com/directus/directus/pull/26628) by [@​dstockton](https://github.com/dstockton)) - Updated `FilesService.uploadOne` to support an optional `storage` parameter ([#​26882](https://github.com/directus/directus/pull/26882) by [@​gaetansenn](https://github.com/gaetansenn)) - Added AI SDK Devtools middleware support for debugging AI Assistant in development only. Added AI telemetry provider ([#​26678](https://github.com/directus/directus/pull/26678) by [@​bryantgillespie](https://github.com/bryantgillespie)) config for Braintrust and Langfuse, enabling sending traces for observability, usage, and token costs. - Added utility endpoint and UI to generate translations collections and fields. ([#​26742](https://github.com/directus/directus/pull/26742) by [@​bryantgillespie](https://github.com/bryantgillespie)) - Added support for Redis namespace control ([#​26943](https://github.com/directus/directus/pull/26943) by [@​dstockton](https://github.com/dstockton)) - **[@​directus/errors](https://github.com/directus/errors)** - Added support for importing data in the background ([#​26914](https://github.com/directus/directus/pull/26914) by [@​Nitwel](https://github.com/Nitwel)) - **[@​directus/env](https://github.com/directus/env)** - Added support for importing data in the background ([#​26914](https://github.com/directus/directus/pull/26914) by [@​Nitwel](https://github.com/Nitwel)) - Added support for Redis namespace control ([#​26943](https://github.com/directus/directus/pull/26943) by [@​dstockton](https://github.com/dstockton)) - **[@​directus/system-data](https://github.com/directus/system-data)** - Added utility endpoint and UI to generate translations collections and fields. ([#​26742](https://github.com/directus/directus/pull/26742) by [@​bryantgillespie](https://github.com/bryantgillespie)) - **[@​directus/constants](https://github.com/directus/constants)** - Added utility endpoint and UI to generate translations collections and fields. ([#​26742](https://github.com/directus/directus/pull/26742) by [@​bryantgillespie](https://github.com/bryantgillespie)) - **[@​directus/extensions-sdk](https://github.com/directus/extensions-sdk)** - Shrunk app UI to 90% and converted all px to rem (16px browser default) ([#​26826](https://github.com/directus/directus/pull/26826) by [@​formfcw](https://github.com/formfcw)) - **[@​directus/themes](https://github.com/directus/themes)** - Shrunk app UI to 90% and converted all px to rem (16px browser default) ([#​26826](https://github.com/directus/directus/pull/26826) by [@​formfcw](https://github.com/formfcw)) ##### 🐛 Bug Fixes & Optimizations - **[@​directus/app](https://github.com/directus/app)** - Fix file renaming ([#​26946](https://github.com/directus/directus/pull/26946) by [@​br41nslug](https://github.com/br41nslug)) - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Fixed filtering out `preRegisterCheck === false` modules from settings module bar config ([#​26953](https://github.com/directus/directus/pull/26953) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Prevented uncaught exception when v-menu has no tabbable elements ([#​26922](https://github.com/directus/directus/pull/26922) by [@​robluton](https://github.com/robluton)) - Fixed a bug where global draft updates failed for singleton collections ([#​26910](https://github.com/directus/directus/pull/26910) by [@​formfcw](https://github.com/formfcw)) - Refactored "Clear value(s) on save when hidden" condition so it's applied inside a drawer ([#​26925](https://github.com/directus/directus/pull/26925) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Added functionality to duplicate access policies ([#​26889](https://github.com/directus/directus/pull/26889) by [@​robluton](https://github.com/robluton)) - Reduced width of split panel resize handle to prevent scrollbar interference ([#​26908](https://github.com/directus/directus/pull/26908) by [@​robluton](https://github.com/robluton)) - Updated Vite to version 8.0.0 ([#​26887](https://github.com/directus/directus/pull/26887) by [@​Nitwel](https://github.com/Nitwel)) - Corrected field editability for conditional update policies and version items ([#​26815](https://github.com/directus/directus/pull/26815) by [@​HZooly](https://github.com/HZooly)) - Fixed date picker not emitting value after month/year change. ([#​26880](https://github.com/directus/directus/pull/26880) by [@​powerseed](https://github.com/powerseed)) - Fixed inconsistent dropdown arrows in visual editor header bar ([#​26904](https://github.com/directus/directus/pull/26904) by [@​formfcw](https://github.com/formfcw)) - **[@​directus/api](https://github.com/directus/api)** - Added API request counting to telemetry reports. Requests are tracked by HTTP method and cache status. ([#​26738](https://github.com/directus/directus/pull/26738) by [@​connorwinston](https://github.com/connorwinston)) - Fix file renaming ([#​26946](https://github.com/directus/directus/pull/26946) by [@​br41nslug](https://github.com/br41nslug)) - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Fixed errors during import not propagated while the file is streaming ([#​26881](https://github.com/directus/directus/pull/26881) by [@​Nitwel](https://github.com/Nitwel)) - Added `cache clear` CLI command with `--system` and `--data` flags ([#​26898](https://github.com/directus/directus/pull/26898) by [@​gaetansenn](https://github.com/gaetansenn)) - Improved build times using `tsdown`’s `oxc-transform` ([#​26604](https://github.com/directus/directus/pull/26604) by [@​Nitwel](https://github.com/Nitwel)) - Preserved M2A type info when using named GraphQL fragments ([#​26920](https://github.com/directus/directus/pull/26920) by [@​gaetansenn](https://github.com/gaetansenn)) - Added GraphQL resolver deduplication ([#​26949](https://github.com/directus/directus/pull/26949) by [@​br41nslug](https://github.com/br41nslug)) - Fixed aggregation sanitization ([#​26948](https://github.com/directus/directus/pull/26948) by [@​br41nslug](https://github.com/br41nslug)) - Added cross origin opener policy settings ([#​26947](https://github.com/directus/directus/pull/26947) by [@​br41nslug](https://github.com/br41nslug)) - Fixed revisions not using prepareDelta ([#​26867](https://github.com/directus/directus/pull/26867) by [@​br41nslug](https://github.com/br41nslug)) - **[@​directus/types](https://github.com/directus/types)** - Fix file renaming ([#​26946](https://github.com/directus/directus/pull/26946) by [@​br41nslug](https://github.com/br41nslug)) - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Updated `FilesService.uploadOne` to support an optional `storage` parameter ([#​26882](https://github.com/directus/directus/pull/26882) by [@​gaetansenn](https://github.com/gaetansenn)) - Added GraphQL resolver deduplication ([#​26949](https://github.com/directus/directus/pull/26949) by [@​br41nslug](https://github.com/br41nslug)) - Fixed revisions not using prepareDelta ([#​26867](https://github.com/directus/directus/pull/26867) by [@​br41nslug](https://github.com/br41nslug)) - **[@​directus/env](https://github.com/directus/env)** - Fix file renaming ([#​26946](https://github.com/directus/directus/pull/26946) by [@​br41nslug](https://github.com/br41nslug)) - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Added support for setting the `secure` attribute on OpenID/OAuth2 cookies via the `AUTH_<PROVIDER>_COOKIE_SECURE` environment variable ([#​26628](https://github.com/directus/directus/pull/26628) by [@​dstockton](https://github.com/dstockton)) - Added AI SDK Devtools middleware support for debugging AI Assistant in development only. Added AI telemetry provider ([#​26678](https://github.com/directus/directus/pull/26678) by [@​bryantgillespie](https://github.com/bryantgillespie)) config for Braintrust and Langfuse, enabling sending traces for observability, usage, and token costs. - Added cross origin opener policy settings ([#​26947](https://github.com/directus/directus/pull/26947) by [@​br41nslug](https://github.com/br41nslug)) - **[@​directus/ai](https://github.com/directus/ai)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/composables](https://github.com/directus/composables)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/constants](https://github.com/directus/constants)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/errors](https://github.com/directus/errors)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/extensions](https://github.com/directus/extensions)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/extensions-registry](https://github.com/directus/extensions-registry)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/extensions-sdk](https://github.com/directus/extensions-sdk)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Updated Vite to version 8.0.0 ([#​26887](https://github.com/directus/directus/pull/26887) by [@​Nitwel](https://github.com/Nitwel)) - **[@​directus/format-title](https://github.com/directus/format-title)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/memory](https://github.com/directus/memory)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/pressure](https://github.com/directus/pressure)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/release-notes-generator](https://github.com/directus/release-notes-generator)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Fixed generated build ([#​26959](https://github.com/directus/directus/pull/26959) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/schema](https://github.com/directus/schema)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/schema-builder](https://github.com/directus/schema-builder)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage](https://github.com/directus/storage)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-azure](https://github.com/directus/storage-driver-azure)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-cloudinary](https://github.com/directus/storage-driver-cloudinary)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-gcs](https://github.com/directus/storage-driver-gcs)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-local](https://github.com/directus/storage-driver-local)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-s3](https://github.com/directus/storage-driver-s3)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/storage-driver-supabase](https://github.com/directus/storage-driver-supabase)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/stores](https://github.com/directus/stores)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/system-data](https://github.com/directus/system-data)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/themes](https://github.com/directus/themes)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/update-check](https://github.com/directus/update-check)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/utils](https://github.com/directus/utils)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Preserved M2A type info when using named GraphQL fragments ([#​26920](https://github.com/directus/directus/pull/26920) by [@​gaetansenn](https://github.com/gaetansenn)) - Fixed revisions not using prepareDelta ([#​26867](https://github.com/directus/directus/pull/26867) by [@​br41nslug](https://github.com/br41nslug)) - **[@​directus/validation](https://github.com/directus/validation)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - **[@​directus/sdk](https://github.com/directus/sdk)** - Updated `@directus/tsconfig` dependency from 3.0.0 to 4.0.0 ([#​26879](https://github.com/directus/directus/pull/26879) by [@​AlexGaillard](https://github.com/AlexGaillard)) - Improved build times using `tsdown`’s `oxc-transform` ([#​26604](https://github.com/directus/directus/pull/26604) by [@​Nitwel](https://github.com/Nitwel)) - Fixed function typing in sdk for `date` and `time` fields. ([#​26936](https://github.com/directus/directus/pull/26936) by [@​costajohnt](https://github.com/costajohnt)) ##### 📦 Published Versions - `@directus/app@15.6.0` - `@directus/api@35.0.0` - `@directus/ai@1.3.1` - `@directus/composables@11.2.16` - `@directus/constants@14.3.0` - `create-directus-extension@11.0.32` - `@directus/env@5.7.0` - `@directus/errors@2.3.0` - `@directus/extensions@3.0.22` - `@directus/extensions-registry@3.0.22` - `@directus/extensions-sdk@17.1.0` - `@directus/format-title@12.1.2` - `@directus/memory@3.1.5` - `@directus/pressure@3.0.20` - `@directus/release-notes-generator@2.0.4` - `@directus/schema@13.0.6` - `@directus/schema-builder@0.0.17` - `@directus/specs@13.0.0` - `@directus/storage@12.0.4` - `@directus/storage-driver-azure@12.0.20` - `@directus/storage-driver-cloudinary@12.0.20` - `@directus/storage-driver-gcs@12.0.20` - `@directus/storage-driver-local@12.0.4` - `@directus/storage-driver-s3@​12.1.6` - `@directus/storage-driver-supabase@3.0.20` - `@directus/stores@2.0.1` - `@directus/system-data@4.4.0` - `@directus/themes@1.3.0` - `@directus/types@15.0.0` - `@directus/update-check@13.0.5` - `@directus/utils@13.3.2` - `@directus/validation@2.0.20` - `@directus/sdk@21.2.1` </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:eyJjcmVhdGVkSW5WZXIiOiI0My44OS4zIiwidXBkYXRlZEluVmVyIjoiNDMuODkuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZ2l0aHViLXJlbGVhc2VzIiwiaW1hZ2UiXX0=--> Reviewed-on: #5109 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
244 lines
7.3 KiB
YAML
244 lines
7.3 KiB
YAML
directus:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: directus/directus
|
|
tag: 11.17.0
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: PUBLIC_URL
|
|
value: https://directus.alexlebens.net
|
|
- name: WEBSOCKETS_ENABLED
|
|
value: true
|
|
- name: ADMIN_EMAIL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-config
|
|
key: admin-email
|
|
- name: ADMIN_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-config
|
|
key: admin-password
|
|
- name: SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-config
|
|
key: secret
|
|
- name: KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-config
|
|
key: key
|
|
- name: DB_CLIENT
|
|
value: postgres
|
|
- name: DB_HOST
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-postgresql-18-cluster-app
|
|
key: host
|
|
- name: DB_DATABASE
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-postgresql-18-cluster-app
|
|
key: dbname
|
|
- name: DB_PORT
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-postgresql-18-cluster-app
|
|
key: port
|
|
- name: DB_USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-postgresql-18-cluster-app
|
|
key: user
|
|
- name: DB_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-postgresql-18-cluster-app
|
|
key: password
|
|
- name: SYNCHRONIZATION_STORE
|
|
value: redis
|
|
- name: CACHE_ENABLED
|
|
value: true
|
|
- name: CACHE_STORE
|
|
value: redis
|
|
- name: REDIS_ENABLED
|
|
value: true
|
|
- name: REDIS_HOST
|
|
value: directus-valkey
|
|
- name: REDIS_USERNAME
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-valkey-config
|
|
key: user
|
|
- name: REDIS_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-valkey-config
|
|
key: password
|
|
- name: STORAGE_LOCATIONS
|
|
value: s3
|
|
- name: STORAGE_S3_DRIVER
|
|
value: s3
|
|
- name: STORAGE_S3_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-bucket-garage
|
|
key: ACCESS_KEY_ID
|
|
- name: STORAGE_S3_SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-bucket-garage
|
|
key: ACCESS_SECRET_KEY
|
|
- name: STORAGE_S3_REGION
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-bucket-garage
|
|
key: ACCESS_REGION
|
|
- name: STORAGE_S3_BUCKET
|
|
value: directus-assets
|
|
- name: STORAGE_S3_ENDPOINT
|
|
value: http://garage-main.garage:3900
|
|
- name: STORAGE_S3_FORCE_PATH_STYLE
|
|
value: true
|
|
- name: AUTH_PROVIDERS
|
|
value: AUTHENTIK
|
|
- name: AUTH_AUTHENTIK_DRIVER
|
|
value: openid
|
|
- name: AUTH_AUTHENTIK_CLIENT_ID
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-oidc-secret
|
|
key: OIDC_CLIENT_ID
|
|
- name: AUTH_AUTHENTIK_CLIENT_SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-oidc-secret
|
|
key: OIDC_CLIENT_SECRET
|
|
- name: AUTH_AUTHENTIK_SCOPE
|
|
value: openid profile email
|
|
- name: AUTH_AUTHENTIK_ISSUER_URL
|
|
value: https://authentik.alexlebens.net/application/o/directus/.well-known/openid-configuration
|
|
- name: AUTH_AUTHENTIK_IDENTIFIER_KEY
|
|
value: email
|
|
- name: AUTH_AUTHENTIK_ALLOW_PUBLIC_REGISTRATION
|
|
value: true
|
|
- name: AUTH_AUTHENTIK_LABEL
|
|
value: Authentik
|
|
- name: TELEMETRY
|
|
value: false
|
|
- name: METRICS_ENABLED
|
|
value: true
|
|
- name: METRICS_TOKENS
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: directus-metric-token
|
|
key: metric-token
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
memory: 256Mi
|
|
service:
|
|
main:
|
|
controller: main
|
|
ports:
|
|
http:
|
|
port: 80
|
|
targetPort: 8055
|
|
protocol: TCP
|
|
serviceMonitor:
|
|
main:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: directus
|
|
app.kubernetes.io/instance: directus
|
|
serviceName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}'
|
|
endpoints:
|
|
- port: http
|
|
interval: 30s
|
|
scrapeTimeout: 15s
|
|
path: /metrics
|
|
bearerTokenSecret:
|
|
name: directus-metric-token
|
|
key: metric-token
|
|
route:
|
|
main:
|
|
kind: HTTPRoute
|
|
parentRefs:
|
|
- group: gateway.networking.k8s.io
|
|
kind: Gateway
|
|
name: traefik-gateway
|
|
namespace: traefik
|
|
hostnames:
|
|
- directus.alexlebens.net
|
|
rules:
|
|
- backendRefs:
|
|
- group: ''
|
|
kind: Service
|
|
name: directus
|
|
port: 80
|
|
weight: 100
|
|
matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
postgres-18-cluster:
|
|
mode: recovery
|
|
recovery:
|
|
method: objectStore
|
|
objectStore:
|
|
index: 1
|
|
backup:
|
|
objectStore:
|
|
- name: garage-local
|
|
index: 1
|
|
destinationBucket: postgres-backups
|
|
externalSecretCredentialPath: /garage/home-infra/postgres-backups
|
|
isWALArchiver: true
|
|
# - name: garage-remote
|
|
# index: 1
|
|
# destinationBucket: postgres-backups
|
|
# externalSecretCredentialPath: /garage/home-infra/postgres-backups
|
|
# retentionPolicy: "90d"
|
|
# data:
|
|
# compression: bzip2
|
|
# - name: external
|
|
# index: 1
|
|
# endpointURL: https://nyc3.digitaloceanspaces.com
|
|
# destinationBucket: postgres-backups-ce540ddf106d186bbddca68a
|
|
# externalSecretCredentialPath: /garage/home-infra/postgres-backups
|
|
# isWALArchiver: false
|
|
scheduledBackups:
|
|
- name: live-backup
|
|
suspend: false
|
|
immediate: true
|
|
schedule: "0 15 14 * * *"
|
|
backupName: garage-local
|
|
# - name: weekly-backup
|
|
# suspend: true
|
|
# immediate: true
|
|
# schedule: "0 0 4 * * SAT"
|
|
# backupName: garage-remote
|
|
# - name: daily-backup
|
|
# suspend: true
|
|
# immediate: true
|
|
# schedule: "0 0 0 * * *"
|
|
# backupName: external
|
|
valkey:
|
|
valkey:
|
|
auth:
|
|
enabled: true
|
|
usersExistingSecret: directus-valkey-config
|
|
aclUsers:
|
|
default:
|
|
permissions: "~* &* +@all"
|
|
metrics:
|
|
enabled: false
|