Merge pull request #100 from kerberos-io/feature/add-task-retention-add-internalization

feature/add-task-retention-add-internalization
This commit is contained in:
Cédric Verstraeten
2026-05-22 16:35:48 +02:00
committed by GitHub
6 changed files with 37 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.106.0
version: 0.107.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to

View File

@@ -337,6 +337,8 @@ spec:
value: "{{ .Values.email.templates.assignTask }}"
- name: ASSIGN_TASK_TITLE
value: "{{ .Values.email.templates.assignTaskTitle }}"
- name: DEFAULT_TASK_RETENTION_DAYS
value: "{{ .Values.kerberoshub.api.defaultTaskRetentionDays }}"
# SMTP
- name: SMTP_SERVER

View File

@@ -83,6 +83,8 @@ spec:
value: "{{ .Values.kerberoshub.cleanup.globalPassIntervalHours }}"
- name: GLOBAL_PASS_DELETE_BUDGET
value: "{{ .Values.kerberoshub.cleanup.globalPassDeleteBudget }}"
- name: DEFAULT_TASK_RETENTION_DAYS
value: "{{ .Values.kerberoshub.cleanup.defaultTaskRetentionDays }}"
{{- if .Values.kerberoshub.extraEnv }}
{{- toYaml .Values.kerberoshub.extraEnv | nindent 12 }}
{{- end }}

View File

@@ -265,6 +265,12 @@ spec:
- name: FEATURE_LANDING_PAGE
value: "{{ .Values.kerberoshub.frontend.features.landingPage }}"
# features > internationalization (i18n)
- name: FEATURE_I18N_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.i18n.enabled }}"
- name: DEFAULT_LANGUAGE
value: "{{ .Values.kerberoshub.frontend.features.i18n.defaultLanguage }}"
# features > liveview
- name: FEATURE_LIVEVIEW_PAGINATION_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.liveview.paginationEnabled }}"

View File

@@ -346,6 +346,12 @@ spec:
- name: FEATURE_LANDING_PAGE
value: "{{ .Values.kerberoshub.frontend.features.landingPage }}"
# features > internationalization (i18n)
- name: FEATURE_I18N_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.i18n.enabled }}"
- name: DEFAULT_LANGUAGE
value: "{{ .Values.kerberoshub.frontend.features.i18n.defaultLanguage }}"
# features > liveview
- name: FEATURE_DEFAULT_STREAM_MODE
value: "{{ .Values.kerberoshub.frontend.features.liveview.defaultStreamMode }}"

View File

@@ -234,6 +234,13 @@ kerberoshub:
# Admin API's are made available for automation of Kerberos Hub.
# To access those API's (e.g. creation of owner users), an API key needs to be provided.
apiKey: "a-random-admin-api-key"
# Default retention (in days) applied to tasks that do not have an
# explicit `retention_days` set. New tasks created without a custom
# retention are stamped with this value. Set to "0" (or a negative
# value) to disable the default retention (tasks are kept indefinitely
# unless an explicit value is provided). Must match the value used by
# `kerberoshub.cleanup.defaultTaskRetentionDays`.
defaultTaskRetentionDays: "0"
## Certificates
tls:
- hosts:
@@ -407,6 +414,12 @@ kerberoshub:
# General
darkModeEnabled: "true" # Enable or disable dark mode toggle 'true' or 'false'
landingPage: "/dashboard" # Landing page after login '/dashboard', '/liveview', '/media', '/devices', '/sites', '/groups'
# Internationalization (i18n): controls the runtime language behaviour
# of the front-end. When `enabled` is "false" the language switcher is
# hidden and `defaultLanguage` is always forced; users cannot change it.
i18n:
enabled: "true" # Enable or disable the language switcher 'true' or 'false'
defaultLanguage: "en" # Default language code: en, nl, pl, tr, fr, sv, de
# Case management is a feature that allows you to create cases, and link recordings, devices, sites, groups, markers and events to those cases.
case:
enabled: "true" # Enable or disable case management feature 'true' or 'false'
@@ -529,6 +542,13 @@ kerberoshub:
globalPassEnabled: "false" # Enable post-user global cleanup pass.
globalPassIntervalHours: "0" # 0 = every cycle when enabled.
globalPassDeleteBudget: "0" # 0 = unlimited deletes during global pass.
# Default retention (in days) applied to tasks without an explicit
# `retention_days`. Tasks older than this (anchored on `creation_date`)
# are deleted along with their `case_media` rows. Set to "0" (or a
# negative value) to keep tasks without an explicit retention forever.
# Tasks with `legal_hold=true` are never deleted. Must match the value
# used by `kerberoshub.api.defaultTaskRetentionDays`.
defaultTaskRetentionDays: "0"
resources:
requests:
memory: 10Mi