Compare commits

...
Author SHA1 Message Date
Kilian 698dfb4f81 Merge pull request #250 from kerberos-io/feat/hub-timeline-collapse-defaults
feat(hub): recordings timeline collapsed state on load (0.200.0)
2026-11-20 11:11:35 +01:00
Kilian BouteandClaude Opus 5.5 2ab970a82c hub: release the timeline collapsed defaults as 0.200.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:08:30 +00:00
Kilian Boute 7f5adf2e1c Merge remote-tracking branch 'origin/main' into feat/hub-timeline-collapse-defaults 2026-11-20 10:08:30 +00:00
Kilian 17829c9b6b Merge pull request #255 from kerberos-io/feat/cleanup-account-deletion-purge
hub: account deletion erasure runs in hub-cleanup (0.199.0)
2026-11-20 11:07:29 +01:00
Kilian BouteandClaude Opus 5.5 08de8348f6 hub: account deletion erasure runs in hub-cleanup (0.199.0)
kerberoshub.cleanup.accountDeletion.purge.{enabled,dryRun} replaces
kerberoshub.api.accountDeletion.purge. Every erasure worker takes any due
deletion in its database, and hub-api runs in every environment that
shares one; hub-cleanup runs once per database.

hub-cleanup gets ACCOUNT_DELETION_PURGE_*, and with the purge on the Vault
connection, STRIPE_KEY and the audit transport. hub-api gets
ACCOUNT_DELETION_PURGE_ENABLED=false, so older images stop their own
worker. Setting the old value stops the render with a pointer to the new
one, so it is never ignored silently.

Needs a hub-cleanup release with the worker (uug-ai/hub-cleanup).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:04:13 +00:00
Kilian 253ca3968f Merge pull request #256 from kerberos-io/feat/frontend-markers-flag
hub: frontend markerOverview.enabled for the Marker overview page (0.198.0)
2026-11-20 10:56:58 +01:00
Kilian BouteandClaude Opus 5.5 384c69f097 hub: release the markerOverview flag as 0.198.0
Released before #255 so staging can move to it without the account
deletion purge values move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:53:47 +00:00
Kilian BouteandClaude Opus 5.5 69df3e06e6 hub: rename the frontend flag to markerOverview.enabled
kerberoshub.frontend.features.markers.enabled read as if it covered every
marker feature. markerOverview.enabled names the page it switches, next to
dayOverview.enabled. Creating markers and the media marker filter are not
affected. The env var stays FEATURE_MARKERS_ENABLED, which released
frontends read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:49:23 +00:00
Kilian BouteandClaude Opus 5.5 950dfbf3e7 hub: frontend markers.enabled (FEATURE_MARKERS_ENABLED) (0.199.0)
kerberoshub.frontend.features.markers.enabled sets FEATURE_MARKERS_ENABLED
on the frontend, which shows the Marker overview page (/analytics/markers)
and its navigation link. Off by default, so existing installs are unchanged;
the Analytics page permission still applies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 08:17:34 +00:00
Cédric Verstraeten e112153610 Merge pull request #254 from kerberos-io/feat/hub-plans-new-organisations
hub: subscriptions.plans.newOrganisations (0.197.0)
2026-11-19 14:50:52 +01:00
Cédric VerstraetenandClaude Opus 5.5 99b5d14171 hub: subscriptions.plans.newOrganisations (PLANS_NEW_ORGANISATIONS)
With plans enabled, new organisations start in plans mode only when
newOrganisations is on. Off (default): they start in legacy mode and an
owner or application admin switches an organisation to plans mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 13:45:28 +00:00
Kilian 1fdd957592 Merge branch 'main' into feat/hub-timeline-collapse-defaults 2026-11-19 12:24:19 +01:00
Cédric Verstraeten c12a10d443 Merge pull request #253 from kerberos-io/feat/hub-plans-file
feat(hub): plan file for subscriptions, off by default (0.196.0)
2026-11-19 08:25:04 +01:00
Cédric VerstraetenandClaude Opus 5.5 d23301f7b0 feat(hub): plan file for subscriptions, off by default (0.196.0)
files/plans.yaml defines the trial, community and enterprise plans
(version 1): the gated permissions each plan allows, its limits and the
Stripe price lookup keys. Prices stay in Stripe.

subscriptions.plans.enabled (default false) renders it into the hub-plans
ConfigMap and mounts it read-only at /etc/kerberos/plans/plans.yaml in
hub-api, pipe-monitor, pipe-analysis and hub-cleanup, with PLANS_FILE set
to that path and a checksum annotation so a plan change restarts them.
The services do not read the file yet. With the value off the rendered
output is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 07:02:40 +00:00
Kilian 51e03bfd1d Merge pull request #252 from kerberos-io/feat/hub-invitation-email
feat(hub): invitation email template (0.195.0)
2026-11-18 16:18:10 +01:00
Kilian Boute 62f3f7e55a Merge remote-tracking branch 'origin/main' into feat/hub-invitation-email
# Conflicts:
#	charts/hub/Chart.yaml
2026-11-18 15:09:55 +00:00
Kilian df6992df11 Merge pull request #251 from kerberos-io/feat/organisation-deletion-flag
feat(hub): flag for organisation deletion (0.194.0)
2026-11-18 16:08:07 +01:00
Kilian BouteandClaude Opus 5.5 ab83b5fa3b docs(hub): account deletion only, no deactivation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 14:01:23 +00:00
Kilian BouteandClaude Opus 5.5 79d5d6f23e feat(hub): invitation email template (0.195.0)
hub-api sends an organisation invitation email only when
INVITATION_TEMPLATE is set, and the chart never set it, so invitees got no
email. email.templates.invitation (default "invitation") and
email.templates.invitationTitle now set INVITATION_TEMPLATE and
INVITATION_TITLE on hub-api. The README lists the template's values, and
custom-layout/templates has an invitation template to start from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 13:50:39 +00:00
Kilian BouteandClaude Fable 5.2 d88363764b feat(hub): flag for organisation deletion (0.194.0)
kerberoshub.api.organisationDeletion.enabled sets
FEATURE_ORGANISATION_DELETION_ENABLED on hub-api and the frontend.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 10:04:44 +00:00
Kilian BouteandClaude Fable 5.2 03d4571eb7 feat(hub): recordings timeline collapsed state on load (0.194.0)
kerberoshub.frontend.features.media.timeline.collapsed.desktop and
.mobile set FEATURE_MEDIA_TIMELINE_COLLAPSED_DESKTOP and
FEATURE_MEDIA_TIMELINE_COLLAPSED_MOBILE on the frontend: whether the
Recordings timeline opens collapsed to one combined activity row. The
defaults keep the current behaviour, open on desktop and collapsed on
viewports up to 900 px wide.

uug-ai/hub-frontend#1055

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 09:06:19 +00:00
KilianandClaude Fable 5.2 d279e83093 feat(hub): flags for account deactivation and deletion (0.193.0) (#249)
kerberoshub.api.accountDeletion.enabled sets
FEATURE_ACCOUNT_DELETION_ENABLED on hub-api and the frontend, graceDays
the grace period of a requested deletion. The worker that erases due
accounts has its own switch, purge.enabled, with purge.dryRun to count
without deleting. All off by default.

uug-ai/hub-frontend#1042

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 18:30:51 +01:00
Cédric VerstraetenandClaude Opus 5.5 8bc4a5c881 feat(hub): session inactivity prompt timeout (0.192.0) (#243)
Add kerberoshub.api.session.inactivityTimeout (default 15m), passed to
hub-api as SESSION_INACTIVITY_TIMEOUT. The frontend asks idle users
whether they are still there after this long and signs them out after
60 seconds without an answer. "0" turns the prompt off.

Default images move to the first pair that carries the prompt and runs
hardened in production: hub-api v1.11.43 and hub-frontend v1.19.42.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 17:03:19 +01:00
KilianandClaude Fable 5.2 eca5780c0d chore(hub): publish the rbac organisations flag (0.191.0) (#248)
0.190.0 was published from #244 seconds before #247 merged with the same
version, so the released chart lacks kerberoshub.api.rbacOrganisations.
Bumping the version publishes main as it is.

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-17 11:55:37 +01:00
KilianandClaude Opus 5.5 73861943fb feat(hub): flag for organisations in rbac mode (0.190.0) (#247)
* feat(hub): flag for organisations in rbac mode (0.190.0)

Adds kerberoshub.api.rbacOrganisations.enabled (default false). It sets
RBAC_ORGANISATIONS_ENABLED on hub-api, which then accepts
organisation.authorizationMode "rbac" on POST /organisations, and
FEATURE_RBAC_ORGANISATIONS_ENABLED on the frontend and the demo frontend,
which offer the option when creating an organisation. One value drives
both so they cannot disagree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(hub): rbacOrganisations drives hub-api only

Every organisation created with POST /organisations starts in rbac mode
when the value is on, so the frontend has no option to offer and the
FEATURE_RBAC_ORGANISATIONS_ENABLED variable is dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(hub): rbacOrganisations also covers new accounts' home organisations

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 11:16:23 +01:00
KilianandClaude Opus 5.5 38c623f76b feat(hub): dashboard Ask settings for hub-api and frontend (0.187.0) (#244)
kerberoshub.api.ask.* sets ASK_ENABLED and the ASK_AZURE_OPENAI_* model
settings on hub-api (endpoint, apiKey and deployment are required when
enabled); kerberoshub.frontend.features.ask.enabled sets
FEATURE_ASK_ENABLED. Both default to off. scripts/check-hub-ask.sh checks
the rendering.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 11:16:04 +01:00
Cédric Verstraeten 8b07a747ee Merge pull request #246 from kerberos-io/fix/hub-demo-default-stream-mode
fix(hub): pass defaultStreamMode to the demo front-end (0.189.0)
2026-11-16 09:18:27 +01:00
Cédric VerstraetenandClaude Opus 5.5 033ab6ec16 fix(hub): pass defaultStreamMode to the demo front-end (0.189.0)
hub-frontend-demo did not set FEATURE_DEFAULT_STREAM_MODE, so env.js got an
empty value and the demo always opened live views in SD regardless of
kerberoshub.frontend.features.liveview.defaultStreamMode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 08:15:03 +00:00
Cédric Verstraeten 9a5a5e2287 Merge pull request #245 from kerberos-io/feat/hub-inspect
feat(hub): flag for in-app bug reports with inspect (0.188.0)
2026-11-12 18:00:20 +01:00
Cédric VerstraetenandClaude Opus 5.5 8c329bb67c feat(hub): flag for in-app bug reports with inspect (0.188.0)
Adds kerberoshub.frontend.features.inspection.enabled (default "false"),
setting ALLOW_INSPECTION on the frontend and the demo frontend. When true,
hub-frontend shows the inspect launcher, which files bug reports as GitHub
issues via https://inspect.uug.ai.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 16:19:37 +00:00
Cédric Verstraeten 549dbf707b Merge pull request #240 from kerberos-io/feat/hub-api-session-lifetime
feat(hub): configurable hub-api session lifetime, hub-api v1.11.42 (0.186.0)
2026-11-12 10:11:12 +01:00
16 changed files with 930 additions and 15 deletions
+1 -1
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.186.0
version: 0.200.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
+59 -3
View File
@@ -58,7 +58,7 @@ legacy opt-out, TLS/configuration mounts and deployment modes.
### Hardened frontend images
Starting with chart **`0.170.0`**, both frontends default to shell-free
`ghcr.io/uug-ai/hub-frontend:v1.19.35`, running as `65532:65532` on port `8080`
`ghcr.io/uug-ai/hub-frontend:v1.19.42`, running as `65532:65532` on port `8080`
with a read-only root filesystem and writable `/tmp`. The Service and ingress
remain on port `80`. Admin retains its legacy image and port `80`; its hardened
runtime remains opt-in.
@@ -508,6 +508,37 @@ in `all` and `ui` modes. The chart does not change the API image tag.
Validate rendering with `bash scripts/check-hub-mcp.sh` from the repository root.
### Ask
Ask lets signed-in users type a question about their recordings on the
dashboard. An Azure OpenAI deployment answers it by calling the MCP recording
and device tools with the user's own grants; `/mcp` itself does not need to be
enabled. Deploy compatible Hub API and frontend images, then set:
```yaml
kerberoshub:
api:
ask:
enabled: true
azureOpenAI:
endpoint: https://my-resource.openai.azure.com
apiKey: <key>
deployment: <deployment>
reasoningEffort: low
frontend:
features:
ask:
enabled: "true"
```
The deployment must support function calling and structured output. Rendering
fails when Ask is enabled without an endpoint, key or deployment. Each question
uses up to six model turns; the API limits each user to six questions a minute.
Both settings default to off; the API setting applies only to Hub API pods in
`all` and `ui` modes.
Validate rendering with `bash scripts/check-hub-ask.sh` from the repository root.
### Passkeys
Users and sub-users can create and manage their own passkeys in **Profile >
@@ -778,6 +809,8 @@ kerberospipeline:
| `isPrivate` | Global StorageClass for Persistent Volume(s) | `true` |
| `readOnly` | This will stop any write process to mongodb or any processing done in the Kerberos Hub pipeline. | `false` |
| `mode` | Deployment mode: `all`, `pipeline`, or `ui`. `all` renders everything, `pipeline` only pipeline services, `ui` only hub services. | `"all"` |
| `subscriptions.plans.enabled` | Creates the `hub-plans` ConfigMap from `files/plans.yaml` (the `trial`, `community` and `enterprise` plans: gated permissions, limits and Stripe price lookup keys) and mounts it read-only at `/etc/kerberos/plans/plans.yaml` in hub-api, pipe-monitor, pipe-analysis and hub-cleanup, with `PLANS_FILE` set to that path. Plans are changed in the chart, not in values: a change adds a new version of a plan. | `false` |
| `subscriptions.plans.newOrganisations` | With `subscriptions.plans.enabled`, new organisations start in plans mode (`PLANS_NEW_ORGANISATIONS=true` on hub-api). When off, new organisations start in legacy mode and an owner or application admin switches an organisation to plans mode. | `false` |
| `global.imageRegistry` | Global container registry override used for all images. | `""` |
| `ingress` | The ingress being used for `kerberoshub.api.url` and `kerberoshub.frontend.url`. | `"nginx"` |
| `mongodb.host` | MongoDB hostname (`'mongodb:27017'`) or mongodb replicas (`'mongodb-0:27017,mongodb-1:27017'`). | `"mongodb.mongodb"` |
@@ -862,7 +895,7 @@ kerberospipeline:
| `kerberoshub.serviceAccount.labels` | Labels applied to `kerberoshub.serviceAccount` resources. | `""` |
| `kerberoshub.api.repository` | The Docker registry where the Kerberos Hub API container is hosted. | `"ghcr.io/uug-ai/hub-api"` |
| `kerberoshub.api.pullPolicy` | The Docker registry pull policy. | `"IfNotPresent"` |
| `kerberoshub.api.tag` | The Docker image tag/version. | `"v1.11.42"` |
| `kerberoshub.api.tag` | The Docker image tag/version. | `"v1.11.43"` |
| `kerberoshub.api.replicas` | The number of pods/replicas running for the Kerberos Hub API deployment. | `2` |
| `kerberoshub.api.audit.enabled` | Enable audit publishing from Hub API when global auditing is enabled. | `true` |
| `kerberoshub.api.logLevel` | Log verbosity level for `kerberoshub.api`. | `"info"` |
@@ -870,12 +903,22 @@ kerberospipeline:
| `kerberoshub.api.session.accessTokenTimeout` | Lifetime of one access token (Go duration). The frontend renews it silently while the session is valid. | `"15m"` |
| `kerberoshub.api.session.idleTimeout` | A session that is not used for this long ends (lifetime of the refresh token). | `"12h"` |
| `kerberoshub.api.session.maxLifetime` | Hard session limit counted from login; refreshing never extends a session past it. | `"24h"` |
| `kerberoshub.api.session.inactivityTimeout` | Without user interaction for this long, the frontend asks "Are you still there?" and signs the user out after 60 seconds. `"0"` turns the prompt off. Needs hub-api with session claims and a matching frontend. | `"15m"` |
| `kerberoshub.api.schema` | The protocol to serve the Kerberos Hub API, `'http'` or `'https'`. | `"https"` |
| `kerberoshub.api.url` | The Kerberos Hub API ingress to access the API. | `"api.yourdomain.com"` |
| `kerberoshub.api.corsAllowedOrigins` | Additional complete HTTP(S) origins allowed to call the Hub API. Configured frontend origins remain allowed automatically. | `[]` |
| `kerberoshub.api.mcp.enabled` | Expose the read-only `/mcp` endpoint; sets `MCP_ENABLED`. Requires a compatible Hub API image. | `false` |
| `kerberoshub.api.mcp.allowedOrigins` | Exact HTTP(S) origins for browser MCP clients, joined into `MCP_ALLOWED_ORIGINS`. Independent of REST CORS; no wildcards or trailing slash. | `[]` |
| `kerberoshub.api.ask.enabled` | Expose `POST /ask` for dashboard questions about recordings; sets `ASK_ENABLED`. Requires a compatible Hub API image. | `false` |
| `kerberoshub.api.ask.azureOpenAI.endpoint` | Azure OpenAI resource URL; sets `ASK_AZURE_OPENAI_ENDPOINT`. Required when Ask is enabled. | `""` |
| `kerberoshub.api.ask.azureOpenAI.apiKey` | Azure OpenAI API key; sets `ASK_AZURE_OPENAI_API_KEY`. Required when Ask is enabled. | `""` |
| `kerberoshub.api.ask.azureOpenAI.deployment` | Deployment name; the model must support function calling and structured output. Sets `ASK_AZURE_OPENAI_DEPLOYMENT`. Required when Ask is enabled. | `""` |
| `kerberoshub.api.ask.azureOpenAI.reasoningEffort` | Optional `minimal`, `low`, `medium` or `high`; empty for models without reasoning. Sets `ASK_AZURE_OPENAI_REASONING_EFFORT`. | `""` |
| `kerberoshub.api.disableAgentHeartbeat` | Temporarily stop serving the polled `GET /devices` list (hub-api returns `204` without database reads). Devices still load once through `/session/bootstrap`; online/offline status stops refreshing. | `false` |
| `kerberoshub.api.rbacOrganisations.enabled` | Every new organisation starts in rbac mode (sets `RBAC_ORGANISATIONS_ENABLED` on hub-api): organisations created with `POST /organisations` and the home organisation of every new account. It starts with every built-in role and its creator as Owner; its members and roles are managed on the Members & access pages only, and the legacy Accounts page cannot add people there. Existing organisations and accounts keep their mode. | `false` |
| `kerberoshub.api.accountDeletion.enabled` | An owner can delete their own account on the profile page: sets `FEATURE_ACCOUNT_DELETION_ENABLED` on hub-api and the frontend. A deletion locks the account at once and is erased after `graceDays`. An account that is already locked stays locked, and can still be reactivated, when this is switched off again. | `false` |
| `kerberoshub.api.accountDeletion.graceDays` | Days a requested deletion can still be cancelled by signing in, 0 to 30 (`ACCOUNT_DELETION_GRACE_DAYS`). | `14` |
| `kerberoshub.api.organisationDeletion.enabled` | The primary owner of an organisation can delete it in the organisation settings: sets `FEATURE_ORGANISATION_DELETION_ENABLED` on hub-api and the frontend. A deletion closes the organisation to every member at once and is erased after `accountDeletion.graceDays` by the `kerberoshub.cleanup.accountDeletion.purge` worker; members keep their accounts and their other organisations. An organisation that is already closed stays closed, and its primary owner can still reopen it, when this is switched off again. | `false` |
| `kerberoshub.api.mediaProxy.enabled` | Serve media through hub-api (`/media/proxy`) instead of handing out Vault/storage URLs, hiding the storage endpoint from clients. | `false` |
| `kerberoshub.api.mediaProxy.publicUrl` | Public hub-api base URL used in proxied media URLs. Defaults to `{schema}://{url}`. | `""` |
| `kerberoshub.api.mediaProxy.key` | Key used to encrypt proxied media URLs (`openssl rand -hex 32`). Defaults to a key derived from `jwtSecret`. | `""` |
@@ -923,7 +966,7 @@ kerberospipeline:
| `kerberoshub.api.sso.extraHeaders.value` | Header value for each configured SSO extra header entry. | `""` |
| `kerberoshub.frontend.repository` | The Docker registry where the Kerberos Hub frontend is hosted. | `"ghcr.io/uug-ai/hub-frontend"` |
| `kerberoshub.frontend.pullPolicy` | The Docker registry pull policy. | `"IfNotPresent"` |
| `kerberoshub.frontend.tag` | The Docker image tag/version. | `"v1.19.35"` |
| `kerberoshub.frontend.tag` | The Docker image tag/version. | `"v1.19.42"` |
| `kerberoshub.frontend.replicas` | The number of pods/replicas running for the Kerberos Hub frontend deployment. | `2` |
| `kerberoshub.frontend.logLevel` | Log verbosity level for `kerberoshub.frontend`. | `"info"` |
| `kerberoshub.frontend.schema` | The protocol to serve the Kerberos Hub frontend, `'http'` or `'https'`. | `"https"` |
@@ -960,12 +1003,14 @@ kerberospipeline:
| `kerberoshub.frontend.features.case.enabled` | Enable or disable the case feature in the frontend. | `"true"` |
| `kerberoshub.frontend.features.darkModeEnabled` | Enable or disable dark mode in the frontend. | `"true"` |
| `kerberoshub.frontend.features.splashScreen.enabled` | Enable or disable the pre-bootstrap splash screen and reveal delay. | `"true"` |
| `kerberoshub.frontend.features.inspection.enabled` | Show the [inspect](https://github.com/uug-ai/inspect) bug-report launcher (and Alt+Shift+I): screenshot or record part of Hub, annotate it and file it as a GitHub issue via `https://inspect.uug.ai`. Needs hub-frontend with inspect support, and the Hub URL on the inspect server's origin allowlist. Sets `ALLOW_INSPECTION`. | `"false"` |
| `kerberoshub.frontend.features.landingPage` | Frontend landing page configuration. | `"/dashboard"` |
| `kerberoshub.frontend.features.i18n.enabled` | Enable or disable the runtime language switcher in the front-end. When `"false"`, `defaultLanguage` is forced and users cannot change it. | `"true"` |
| `kerberoshub.frontend.features.i18n.defaultLanguage` | Default language code used by the front-end (e.g. `en`, `nl`, `pl`, `tr`, `fr`, `sv`, `de`). | `"en"` |
| `kerberoshub.frontend.features.workflows.enabled` | Enable or disable the workflows feature in the frontend. | `"false"` |
| `kerberoshub.frontend.features.audit.enabled` | Enable or disable the owner/admin Audit events page and navigation link. | `"true"` |
| `kerberoshub.frontend.features.dayOverview.enabled` | Enable or disable the Day overview page and navigation menu. Role page permissions still apply. | `"true"` |
| `kerberoshub.frontend.features.markerOverview.enabled` | Enable or disable the Marker overview page (`/analytics/markers`) and its navigation link. Creating markers and the media marker filter are not affected. The Analytics page permission still applies. Sets `FEATURE_MARKERS_ENABLED`. | `"false"` |
| `kerberoshub.frontend.features.organisations.enabled` | Enable or disable the organisation feature family, including projects. When empty, child groups apply independently. | `""` |
| `kerberoshub.frontend.features.organisations.switcherEnabled` | Enable or disable the organisation dropdown and switching. The current organisation remains visible when disabled. | `"false"` |
| `kerberoshub.frontend.features.organisations.creationEnabled` | Enable or disable organisation creation. Requires organisation switching to be enabled. | `"false"` |
@@ -1022,6 +1067,9 @@ kerberospipeline:
| `kerberoshub.frontend.features.media.filter.events.enabled` | Enable or disable `kerberoshub.frontend.features.media.filter.events`. | `"true"` |
| `kerberoshub.frontend.features.media.filter.tags.enabled` | Enable or disable `kerberoshub.frontend.features.media.filter.tags`. | `"true"` |
| `kerberoshub.frontend.features.media.filter.defaultView` | Default view for the media page: `timeline` or `grid`. | `"timeline"` |
| `kerberoshub.frontend.features.media.timeline.collapsed.desktop` | Open the Recordings timeline collapsed to one combined activity row on desktop (`FEATURE_MEDIA_TIMELINE_COLLAPSED_DESKTOP`). Users can still expand it. | `"false"` |
| `kerberoshub.frontend.features.media.timeline.collapsed.mobile` | Open the Recordings timeline collapsed to one combined activity row on viewports up to 900 px wide (`FEATURE_MEDIA_TIMELINE_COLLAPSED_MOBILE`). Users can still expand it. | `"true"` |
| `kerberoshub.frontend.features.ask.enabled` | Show the dashboard Ask block; sets `FEATURE_ASK_ENABLED`. Needs `kerberoshub.api.ask.enabled`. | `"false"` |
| `kerberoshub.frontend.features.floorplan.enabled` | Enable or disable `kerberoshub.frontend.features.floorplan`. | `"true"` |
| `kerberoshub.frontend.features.floorplan.colorDeviceActive` | Color customization for `floorplan` in the frontend. | `"hsla(131, 31%, 52%, 1)"` |
| `kerberoshub.frontend.features.floorplan.colorDeviceInactive` | Color customization for `floorplan` in the frontend. | `"hsla(0, 3%, 41%, 1)"` |
@@ -1064,6 +1112,8 @@ kerberospipeline:
| `kerberoshub.cleanup.deleteTimeoutSeconds` | Timeout for delete operations. | `"120"` |
| `kerberoshub.cleanup.reportIncludeStats` | Include richer per-user dry-run summary stats. | `"false"` |
| `kerberoshub.cleanup.dryRun` | Force dry-run behavior through env var. | `"false"` |
| `kerberoshub.cleanup.accountDeletion.purge.enabled` | Starts the worker in hub-cleanup that erases accounts and organisations whose deletion is due, with their recordings in storage and their Stripe subscriptions (`ACCOUNT_DELETION_PURGE_ENABLED`). It uses `kerberosvault.*`, `kerberoshub.api.stripe.privateKey` and the `audit` transport. Without it requested deletions stay locked and nothing is erased. Every worker takes any due deletion in its database, whichever deployment requested it: enable it in exactly one deployment per database. Replaces `kerberoshub.api.accountDeletion.purge`, which now stops the render when enabled. | `false` |
| `kerberoshub.cleanup.accountDeletion.purge.dryRun` | The worker counts what it would erase, writes the counts to the deletion record and deletes nothing (`ACCOUNT_DELETION_PURGE_DRY_RUN`). `kerberoshub.cleanup.dryRun` and `mode: dry-run` imply it. | `false` |
| `kerberoshub.cleanup.debug` | Enable extra cleanup debug logging. | `"false"` |
| `kerberoshub.cleanup.globalPassEnabled` | Enable optional global orphan cleanup pass. | `"false"` |
| `kerberoshub.cleanup.globalPassIntervalHours` | Minimum hours between global cleanup passes. | `"0"` |
@@ -1250,6 +1300,8 @@ kerberospipeline:
| `email.templates.shareTitle` | Email subject title for the `share` template. | `"[Action] You received a recording from Kerberos Hub"` |
| `email.templates.assignTask` | Email template name/key for `assign task` notifications. | `"assign_task"` |
| `email.templates.assignTaskTitle` | Email subject title for the `assign task` template. | `"[Action] You've been assigned to a task"` |
| `email.templates.invitation` | Email template name/key for organisation invitations. Empty sends no invitation email; the inviter still gets the link to share. With Mailgun, create a template with this name in your Mailgun account. | `"invitation"` |
| `email.templates.invitationTitle` | Email subject for organisation invitations. | `"You're invited to join an organisation on Kerberos Hub"` |
| `email.templates.detection` | We use templates to send notifications, this allow you to bring your own `Mailgun` templates, by default `'detection'`. | `"detection"` |
| `email.templates.disabled` | The template which is send when an account is disabled due to reaching its upload limit, by default `'disabled'`. | `"disabled"` |
| `email.templates.highupload` | The template which is send when an account is reaching a specific upload threshold, by default `'threshold'`. | `"highupload"` |
@@ -1422,6 +1474,10 @@ Sent by the API (`kerberoshub.api`). The subject of each email is the matching `
| | `{{user}}` | Name of the user who assigned the task. |
| | `{{task_name}}` | The task title. |
| | `{{link}}` | `<tenant URL>/tasks/`, using the assigned user's domain. |
| Organisation invitation (`invitation`) | `{{user}}` | Inviter's first and last name, or email address. |
| | `{{organisation}}` | Name of the organisation the person is invited to. |
| | `{{url}}` | `<base URL>/invitations/<token>`: the invitee signs in or creates an account there and joins. |
| | `{{expiry}}` | When the invitation ends, for example "25 November 2026 13:00 UTC". |
The `newip`, `disable` and `highupload` templates are included, but no service currently sends them.
@@ -0,0 +1,418 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"
/>
<meta name="description" content="Kerberos.io Mailing">
<style type="text/css">
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("https://kerberos.io/dist/fonts/Inter-Regular.woff?v=/dist/fonts/Inter-Regular.woff2?v=3.183.18") format("woff2"),
url("https://kerberos.io/dist/fonts/Inter-Regular.woff?v=/dist/fonts/Inter-Regular.woff2?v=3.183.18") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("https://kerberos.io/dist/fonts/Inter-Medium.woff2?v=3.18") format("woff2"),
url("https://kerberos.io/dist/fonts/Inter-Medium.woff?v=3.18") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url("https://kerberos.io/dist/fonts/Inter-SemiBold.woff2?v=3.18") format("woff2"),
url("https://kerberos.io/dist/fonts/Inter-SemiBold.woff?v=3.18") format("woff");
}
@font-face {
font-family: 'Inter var';
font-weight: 100 900;
font-display: swap;
font-style: normal;
font-named-instance: 'Regular';
src: url("https://kerberos.io/dist/fonts/Inter-roman.var.woff2?v=3.18") format("woff2");
}
body{
background: #E5E5E5;
margin-top:0;
margin-bottom: 0;
margin-right: 0;
margin-left: 0;
padding-top: 0;
padding-left: 0;
padding-right: 0;
padding-bottom: 0;
font-family: 'Inter';
}
a, a:hover, a:active {
color: #262424;
text-decoration: none;
}
.corner-td{
width: 60px;
}
table {border-collapse:separate;max-width: 850px; margin: 0 auto; width: 100%;}
.ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td {line-height: 100%;}
.ExternalClass {width: 100%;}
@media screen and (max-width:500px){
.tab-td{
padding-left: 10px!important;
}
.tab-td a h4{
font-size: 14px!important;
}
.corner-td{
width: 20px!important;
}
.company-name-td h3{
font-size: 16px!important;
}
table.header-table{
padding-top: 8px!important;
padding-right: 0px!important;
padding-bottom: 24px!important;
padding-left: 0px!important;
}
.colored-card-td h4{
font-size: 14px!important;
}
.colored-card-td h2{
font-size: 20px!important;
}
.colored-card-td a p{
font-size: 12px!important;
width: 143px!important;
}
.colored-card-td{
padding-top: 24px!important;
padding-right: 24px!important;
padding-bottom: 24px!important;
padding-left: 24px!important;
}
.colorless-card-td{
padding-top: 24px!important;
padding-right: 24px!important;
padding-bottom: 24px!important;
padding-left: 24px!important;
}
.colorless-card-td h3{
font-size: 18px!important;
}
.colorless-card-td p{
font-size: 14px!important;
}
.colorless-card-table{
margin-left: 0px!important;
margin-right: 0px!important;
margin-top: 24px!important;
margin-bottom: 24px!important;
}
.footer-td{
display: table-row!important;
}
}
@media screen and (max-width:600px) {
.footer-td{
display: table-row!important;
}
}
@media screen and (max-width:650px) {
.footer-table{
margin-left: 0px!important;
margin-right: 0px!important;
margin-top: 0px!important;
margin-bottom: 36px!important;
}
}
</style>
</head>
<body height="100%" width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="E5E5E5" style="border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tr>
<td bgcolor="E5E5E5">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="36" class="header-table" style="padding-top: 36px ;padding-right: 0;padding-bottom: 36px;padding-left: 0;border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tbody>
<tr>
<td class="corner-td" align="left"></td>
<td width="48" height="36" align="left"><img alt="Kerberos.io" width="36" height="36" src="https://kerberos.io/images/email/kerberos.png"/></td>
<td height="36" align="left" class="company-name-td">
<h3 width="36" height="36" style=" font-family: Inter;
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 24px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color: #262424;">Kerberos.io</h3>
</td>
<td height="36" width="36" style="padding-left: 36px;" class="tab-td" align="right">
<a style="text-decoration: none;color: none;" href={{tab1_href}}>
<h4 style="font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 36px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: right;
color: #6D6666;">{{tab1_title}}</h4>
</a>
</td>
<td height="36" width="36" style="padding-left: 36px;" class="tab-td" align="right" >
<a style="text-decoration: none;color: none;" href={{tab2_href}}>
<h4 style="font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 36px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: right;
color: #6D6666;">{{tab2_title}}</h4>
</a>
</td>
<td class="corner-td" align="right"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="E5E5E5" style="border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tr>
<td bgcolor="E5E5E5">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;" >
<tbody>
<tr>
<td class="corner-td" align="left"></td>
<td class="colored-card-td" bgcolor="#57356B" style="padding-left: 48px;padding-right: 48px;padding-top: 48px;padding-bottom: 48px;border-radius: 4px;background-color:#57356B;">
<h2 style=" font-family: Inter;
font-size: 24px;
font-style: normal;
font-weight: 600;
line-height: 36px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color:#FFFFFF;
padding-top: 12px;
margin-bottom: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;">You're invited</h2>
<h4 style="font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color:#b09fb9;">{{user}} invited you to {{organisation}}</h4>
</td>
<td class="corner-td" align="right"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="E5E5E5" style="border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tr>
<td bgcolor="E5E5E5">
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="colorless-card-table" style="margin-top: 36px;margin-bottom: 36px;margin-left: 0;margin-right: 0;border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;" >
<tbody>
<tr>
<td class="corner-td" align="left"></td>
<td class="colorless-card-td" bgcolor="#FFFFFF" style="background-color:#FFFFFF;padding-top: 36px;padding-right: 43px;padding-bottom: 25px;padding-left: 43px;border-radius: 4px;">
<h3 style=" font-family: Inter;
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 36px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color: #262424;
width: 280px">Join {{organisation}}</h3>
<p style=" font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 24px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color: #6D6666;
margin-top: 12px;">{{user}} invited you to join <b>{{organisation}}</b> on Kerberos Hub. Open the invitation to sign in, or to create your account if you don't have one yet, and join. The link works until {{expiry}}.</p>
<a style="text-decoration: none;color: none;" href="{{url}}">
<p style="font-family: Inter;
font-size: 14px;
font-style: normal;
line-height: 24px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color:#FFFFFF;
background-color: #84559F;
padding-top: 6px;
padding-bottom: 6px;
padding-right: 16px;
padding-left: 16px;
width: 150px;
border-radius: 4px;
text-align: center;
cursor: pointer;">Open invitation -></p>
</a>
</td>
<td class="corner-td" align="right"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="E5E5E5" style="border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tr>
<td bgcolor="E5E5E5">
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="footer-table" style="margin-top: 0;border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;" >
<tbody>
<tr>
<td class="corner-td" align="left"></td>
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td style="vertical-align:top;display:table-row !important">
<![endif]-->
<td height="146" width="190" class="footer-td" style="margin-bottom: 12px;" valign="top" align="left">
<table style="border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tbody>
<tr>
<td>
<h4 style=" font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 36px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color:#6D6666;">Get in touch</h4>
<a style="text-decoration: none;color: none;" href="mailto:support@verstraeten.io">
<p style=" font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 16px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color: #A69D9D;">support@kerberos.io</p>
</a>
<p style=" font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 16px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color: #A69D9D;">9000 Ghent, BE</p>
<a style="text-decoration: none;color: none;" href="https://kerberos.io/">
<p style=" font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 24px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color: #A69D9D;">https://kerberos.io</p>
</a>
</td>
</tr>
</tbody>
</table>
</td>
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td style="vertical-align:top;display:table-row !important">
<![endif]-->
<td class="footer-td" style="border-radius: 4px;padding-left: 0;padding-right: 0;padding-top: 0;padding-bottom: 0; margin-bottom: 12px;" valign="top" align="left">
<table style="border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tbody>
<tr>
<td>
<h4 style=" font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 36px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color:#6D6666;">About Kerberos</h4>
<p style=" font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 24px;
mso-line-height-rule:exactly;
letter-spacing: 0em;
text-align: left;
color: #A69D9D;">Welcome to the revolutionary video analytics and video management platform. Open, modular, and extensible for everyone, anywhere.</p>
<p style="margin-top: 12px;">
<a href="https://twitter.com/kerberosio" style="text-decoration: none;color: none;">
<img width="24" height="24" alt="Twitter" src="https://kerberos.io/images/email/twitter.png"/>
</a>
<a href="https://reddit.com/r/kerberos_io" style="text-decoration: none;color: none;">
<img g width="24" height="24" alt="Reddit" src="https://kerberos.io/images/email/reddit.png"/>
</a>
<a href="https://www.youtube.com/channel/UCnd9q7iRNNw4W95eQwQuECA" style="text-decoration: none;color: none;">
<img g width="24" height="24" alt="Youtube" src="https://kerberos.io/images/email/youtube.png"/>
</a>
<a href="https://github.com/kerberos-io" style="text-decoration: none;color: none;">
<img g width="24" height="24" alt="Github" src="https://kerberos.io/images/email/github.png"/>
</a>
</p>
</td>
</tr>
</tbody>
</table>
</td>
<td class="corner-td" align="right"></td>
</tr>
</tbody>
</table>
<table style="border-collaps:collaps; mso-table-lspace:0pt; mso-table-rspace:0pt;">
<tbody>
<tr style="height: 50px">
<td></td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</body>
</html>
@@ -0,0 +1,17 @@
Kerberos Hub
------------
You're invited
{{user}} invited you to join {{organisation}} on Kerberos Hub.
Open the invitation to sign in, or to create your account if you
don't have one yet, and join:
{{url}}
The link works until {{expiry}}.
If you didn't expect this invitation, you can ignore this email.
Get in touch
------------
support@kerberos.io
https://kerberos.io
+86
View File
@@ -0,0 +1,86 @@
# Hub plans: what each plan allows (gated permissions) and how much (limits).
# Hub API, the pipelines and hub-cleanup read this file at startup when
# subscriptions.plans.enabled is true (mounted from the hub-plans ConfigMap).
#
# Subscriptions reference a plan by {key, version}. To change a plan, add a
# new version of it below; do not edit a version that is already released.
#
# Prices are not in this file: they live in Stripe under the
# stripeLookupKeys (community €50 / month, enterprise €150 / month; trial is
# free and has none). The lookup keys are the same in Stripe test and live
# mode, so this file is the same on staging and production.
#
# Limits are a number or "unlimited"; 0 means none.
plans:
- key: trial
version: 1
name: Trial
permissions:
- live.*
- ptz.*
- videowalls.*
- analytics.*
- detections.*
- media.playHD
limits:
devices: 3
uploadGBPerDay: 1
uploadGBPerMonth: 30
retentionDays: 7
workflowCredits: 0
projects: unlimited
members: unlimited
stripeLookupKeys: []
public: true
archived: false
- key: community
version: 1
name: Community
permissions:
- live.*
- ptz.*
- videowalls.*
- analytics.*
- detections.*
- media.playHD
- workflows.*
- workflow-runs.*
- cases.*
limits:
devices: 30
uploadGBPerDay: 10
uploadGBPerMonth: 300
retentionDays: 30
workflowCredits: 100
projects: unlimited
members: unlimited
stripeLookupKeys:
- community_monthly
public: true
archived: false
- key: enterprise
version: 1
name: Enterprise
permissions:
- live.*
- ptz.*
- videowalls.*
- analytics.*
- detections.*
- media.playHD
- workflows.*
- workflow-runs.*
- cases.*
- storage.*
limits:
devices: unlimited
uploadGBPerDay: 100
uploadGBPerMonth: 3000
retentionDays: 30
workflowCredits: 1000
projects: unlimited
members: unlimited
stripeLookupKeys:
- enterprise_monthly
public: true
archived: false
@@ -0,0 +1,12 @@
{{- if .Values.subscriptions.plans.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: hub-plans
namespace: {{ .Release.Namespace }}
data:
# files/plans.yaml, read through PLANS_FILE by hub-api, pipe-monitor,
# pipe-analysis and hub-cleanup.
plans.yaml: |
{{ .Files.Get "files/plans.yaml" | indent 4 }}
{{- end }}
+64 -2
View File
@@ -137,6 +137,9 @@ spec:
{{- if and $workflowConfiguration.enabled $workflowConfiguration.includeDefaults (not (hasKey $workflowConfiguration.replacements "workflow-contracts/forwarder.yaml")) }}
checksum/workflow-contract-forwarder: {{ include (print $.Template.BasePath "/configMaps/workflow-contracts/forwarder.yaml") . | sha256sum }}
{{- end }}
{{- if .Values.subscriptions.plans.enabled }}
checksum/plans: {{ .Files.Get "files/plans.yaml" | sha256sum }}
{{- end }}
labels:
app: hub-api
spec:
@@ -155,7 +158,7 @@ spec:
{{- $mongodbTLS := .Values.mongodb.tls }}
{{- $classificationCatalogEnabled := .Values.classificationCatalogEnabled }}
{{- $deviceSystemTagsEnabled := include "kerberoshub.deviceTags.system.enabled" . }}
{{- if or $workflowConfiguration.enabled $classificationCatalogEnabled $deviceSystemTagsEnabled .Values.kerberoshub.api.volumes (and $serverTLS.enabled $serverTLS.secretName) (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
{{- if or $workflowConfiguration.enabled $classificationCatalogEnabled $deviceSystemTagsEnabled .Values.subscriptions.plans.enabled .Values.kerberoshub.api.volumes (and $serverTLS.enabled $serverTLS.secretName) (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
volumes:
{{- if $workflowConfiguration.enabled }}
- name: workflow-configuration
@@ -213,6 +216,11 @@ spec:
configMap:
name: device-system-tags
{{- end }}
{{- if .Values.subscriptions.plans.enabled }}
- name: hub-plans
configMap:
name: hub-plans
{{- end }}
{{- with .Values.kerberoshub.api.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
@@ -244,7 +252,7 @@ spec:
ports:
- containerPort: 80
name: http
{{- if or $workflowConfiguration.enabled $classificationCatalogEnabled $deviceSystemTagsEnabled .Values.kerberoshub.api.volumeMounts (and $serverTLS.enabled $serverTLS.secretName) (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
{{- if or $workflowConfiguration.enabled $classificationCatalogEnabled $deviceSystemTagsEnabled .Values.subscriptions.plans.enabled .Values.kerberoshub.api.volumeMounts (and $serverTLS.enabled $serverTLS.secretName) (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
volumeMounts:
{{- if $workflowConfiguration.enabled }}
- name: workflow-configuration
@@ -261,6 +269,11 @@ spec:
mountPath: /etc/kerberos/device-tags
readOnly: true
{{- end }}
{{- if .Values.subscriptions.plans.enabled }}
- name: hub-plans
mountPath: /etc/kerberos/plans
readOnly: true
{{- end }}
{{- with .Values.kerberoshub.api.volumeMounts}}
{{- toYaml . | nindent 12 }}
{{- end }}
@@ -289,6 +302,15 @@ spec:
- name: DEVICE_SYSTEM_TAGS_FILE
value: /etc/kerberos/device-tags/system-tags.json
{{- end }}
{{- if .Values.subscriptions.plans.enabled }}
# Plans (files/plans.yaml, subscriptions.plans.enabled).
- name: PLANS_FILE
value: /etc/kerberos/plans/plans.yaml
{{- if .Values.subscriptions.plans.newOrganisations }}
- name: PLANS_NEW_ORGANISATIONS
value: "true"
{{- end }}
{{- end }}
- name: ENVIRONMENT
value: "{{ .Values.environment }}"
- name: READ_ONLY
@@ -309,6 +331,8 @@ spec:
value: {{ .Values.kerberoshub.api.session.idleTimeout | quote }}
- name: SESSION_MAX_LIFETIME
value: {{ .Values.kerberoshub.api.session.maxLifetime | quote }}
- name: SESSION_INACTIVITY_TIMEOUT
value: {{ .Values.kerberoshub.api.session.inactivityTimeout | quote }}
- name: REFRESH_COOKIE_SECURE
value: {{ eq .Values.kerberoshub.api.schema "https" | quote }}
{{- $corsOrigins := list (printf "%s://%s" .Values.kerberoshub.frontend.schema .Values.kerberoshub.frontend.url) }}
@@ -334,6 +358,20 @@ spec:
value: {{ $mcp.enabled | default false | quote }}
- name: MCP_ALLOWED_ORIGINS
value: {{ join "," ($mcp.allowedOrigins | default list) | quote }}
{{- $ask := .Values.kerberoshub.api.ask | default dict }}
- name: ASK_ENABLED
value: {{ $ask.enabled | default false | quote }}
{{- if $ask.enabled }}
{{- $askModel := $ask.azureOpenAI | default dict }}
- name: ASK_AZURE_OPENAI_ENDPOINT
value: {{ required "kerberoshub.api.ask.azureOpenAI.endpoint is required when Ask is enabled" $askModel.endpoint | quote }}
- name: ASK_AZURE_OPENAI_API_KEY
value: {{ required "kerberoshub.api.ask.azureOpenAI.apiKey is required when Ask is enabled" $askModel.apiKey | quote }}
- name: ASK_AZURE_OPENAI_DEPLOYMENT
value: {{ required "kerberoshub.api.ask.azureOpenAI.deployment is required when Ask is enabled" $askModel.deployment | quote }}
- name: ASK_AZURE_OPENAI_REASONING_EFFORT
value: {{ $askModel.reasoningEffort | default "" | quote }}
{{- end }}
{{ if .Values.isPrivate }}
- name: KERBEROS_PRIVATE_CLOUD
value: "true"
@@ -384,6 +422,26 @@ spec:
- name: DISABLE_AGENT_HEARTBEAT
value: {{ .Values.kerberoshub.api.disableAgentHeartbeat | default false | quote }}
# Organisations in rbac mode: every new organisation, including new accounts' home organisations.
- name: RBAC_ORGANISATIONS_ENABLED
value: {{ (.Values.kerberoshub.api.rbacOrganisations | default dict).enabled | default false | quote }}
# Account deletion by the owner; hub-cleanup erases due deletions.
{{- $accountDeletion := .Values.kerberoshub.api.accountDeletion | default dict }}
{{- if ($accountDeletion.purge | default dict).enabled }}
{{- fail "kerberoshub.api.accountDeletion.purge moved to kerberoshub.cleanup.accountDeletion.purge: hub-cleanup erases due deletions now" }}
{{- end }}
- name: FEATURE_ACCOUNT_DELETION_ENABLED
value: {{ $accountDeletion.enabled | default false | quote }}
- name: ACCOUNT_DELETION_GRACE_DAYS
value: {{ if hasKey $accountDeletion "graceDays" }}{{ $accountDeletion.graceDays | int | quote }}{{ else }}"14"{{ end }}
# Older hub-api images run their own erasure worker unless this is false.
- name: ACCOUNT_DELETION_PURGE_ENABLED
value: "false"
# Organisation deletion by its primary owner; grace period and worker are the account ones.
- name: FEATURE_ORGANISATION_DELETION_ENABLED
value: {{ (.Values.kerberoshub.api.organisationDeletion | default dict).enabled | default false | quote }}
# Media proxy: hide Vault/storage endpoints behind hub-api URLs.
{{- $mediaProxy := .Values.kerberoshub.api.mediaProxy | default dict }}
- name: MEDIA_PROXY_ENABLED
@@ -568,6 +626,10 @@ spec:
value: "{{ .Values.email.templates.assignTask }}"
- name: ASSIGN_TASK_TITLE
value: "{{ .Values.email.templates.assignTaskTitle }}"
- name: INVITATION_TEMPLATE
value: "{{ .Values.email.templates.invitation }}"
- name: INVITATION_TITLE
value: "{{ .Values.email.templates.invitationTitle }}"
- name: DEFAULT_TASK_RETENTION_DAYS
value: "{{ .Values.kerberoshub.api.defaultTaskRetentionDays }}"
- name: CASES_MAX_RETENTION_DAYS
@@ -19,6 +19,9 @@ spec:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configMaps/configmap-mongodb.yaml") . | sha256sum }}
{{- if .Values.subscriptions.plans.enabled }}
checksum/plans: {{ .Files.Get "files/plans.yaml" | sha256sum }}
{{- end }}
labels:
app: hub-cleanup
spec:
@@ -34,7 +37,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- $mongodbTLS := .Values.mongodb.tls }}
{{- if or .Values.kerberoshub.cleanup.volumes (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
{{- if or .Values.subscriptions.plans.enabled .Values.kerberoshub.cleanup.volumes (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
volumes:
{{- with .Values.kerberoshub.cleanup.volumes }}
{{- toYaml . | nindent 8 }}
@@ -42,6 +45,11 @@ spec:
{{- if and $mongodbTLS.enabled $mongodbTLS.existingSecret }}
{{- include "hub.mongodb.tlsVolume" . | nindent 8 }}
{{- end }}
{{- if .Values.subscriptions.plans.enabled }}
- name: hub-plans
configMap:
name: hub-plans
{{- end }}
{{- end }}
{{- with .Values.kerberoshub.cleanup.topologySpreadConstraints }}
topologySpreadConstraints:
@@ -59,7 +67,7 @@ spec:
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if or .Values.kerberoshub.cleanup.volumeMounts (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
{{- if or .Values.subscriptions.plans.enabled .Values.kerberoshub.cleanup.volumeMounts (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
volumeMounts:
{{- with .Values.kerberoshub.cleanup.volumeMounts }}
{{- toYaml . | nindent 12 }}
@@ -67,6 +75,11 @@ spec:
{{- if and $mongodbTLS.enabled $mongodbTLS.existingSecret }}
{{- include "hub.mongodb.tlsVolumeMount" . | nindent 12 }}
{{- end }}
{{- if .Values.subscriptions.plans.enabled }}
- name: hub-plans
mountPath: /etc/kerberos/plans
readOnly: true
{{- end }}
{{- end }}
envFrom:
- configMapRef:
@@ -75,6 +88,11 @@ spec:
- containerPort: 8080
env:
{{- include "hub.mongodb.appUriEnv" (dict "root" $ "app" "hub-cleanup") | nindent 12 }}
{{- if .Values.subscriptions.plans.enabled }}
# Plans (files/plans.yaml, subscriptions.plans.enabled).
- name: PLANS_FILE
value: /etc/kerberos/plans/plans.yaml
{{- end }}
- name: MODE
value: "{{ .Values.kerberoshub.cleanup.mode }}"
- name: LOG_LEVEL
@@ -121,6 +139,38 @@ spec:
value: "{{ .Values.kerberoshub.cleanup.auditEventRetentionDays }}"
- name: WORKFLOW_RUN_RETENTION_DAYS
value: "{{ .Values.kerberoshub.cleanup.workflowRunRetentionDays | default "0" }}"
# Erasure of due account and organisation deletions.
{{- $accountPurge := ((.Values.kerberoshub.cleanup.accountDeletion | default dict).purge | default dict) }}
- name: ACCOUNT_DELETION_PURGE_ENABLED
value: {{ $accountPurge.enabled | default false | quote }}
- name: ACCOUNT_DELETION_PURGE_DRY_RUN
value: {{ $accountPurge.dryRun | default false | quote }}
{{- if $accountPurge.enabled }}
- name: STORAGE_URI
value: "{{ .Values.kerberosvault.uri }}"
- name: STORAGE_ACCESS_KEY
value: "{{ .Values.kerberosvault.accesskey }}"
- name: STORAGE_SECRET_KEY
value: "{{ .Values.kerberosvault.secretkey }}"
- name: STRIPE_KEY
value: "{{ .Values.kerberoshub.api.stripe.privateKey }}"
- name: AUDIT_ENABLED
value: {{ .Values.audit.enabled | default false | quote }}
{{- if .Values.audit.enabled }}
- name: AUDIT_QUEUE
value: {{ .Values.audit.intake.queue | quote }}
- name: AUDIT_DEADLETTER_QUEUE
value: {{ .Values.audit.intake.deadletterQueue | quote }}
- name: RABBITMQ_HOST
value: "{{ .Values.rabbitmq.host }}"
- name: RABBITMQ_EXCHANGE
value: "{{ .Values.rabbitmq.exchange }}"
- name: RABBITMQ_USERNAME
value: "{{ .Values.rabbitmq.username }}"
- name: RABBITMQ_PASSWORD
value: "{{ .Values.rabbitmq.password }}"
{{- end }}
{{- end }}
{{- if .Values.kerberoshub.extraEnv }}
{{- toYaml .Values.kerberoshub.extraEnv | nindent 12 }}
{{- end }}
@@ -245,6 +245,8 @@ spec:
value: "{{ .Values.kerberoshub.api.passkeys.enabled }}"
- name: FEATURE_DAY_OVERVIEW_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.dayOverview.enabled }}"
- name: FEATURE_MARKERS_ENABLED
value: "{{ (.Values.kerberoshub.frontend.features.markerOverview | default dict).enabled | default "false" }}"
- name: FEATURE_DEVICE_ANALYTICS_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.devices.analyticsEnabled }}"
- name: FEATURE_DASHBOARD_SITES_FULLSCREEN_ENABLED
@@ -273,6 +275,8 @@ spec:
value: "{{ .Values.kerberoshub.frontend.features.darkMode }}"
- name: FEATURE_SPLASH_SCREEN_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.splashScreen.enabled }}"
- name: ALLOW_INSPECTION
value: "{{ .Values.kerberoshub.frontend.features.inspection.enabled }}"
- name: FEATURE_LANDING_PAGE
value: "{{ .Values.kerberoshub.frontend.features.landingPage }}"
@@ -283,6 +287,8 @@ spec:
value: "{{ .Values.kerberoshub.frontend.features.i18n.defaultLanguage }}"
# features > liveview
- name: FEATURE_DEFAULT_STREAM_MODE
value: "{{ .Values.kerberoshub.frontend.features.liveview.defaultStreamMode }}"
- name: FEATURE_LIVE_STREAM_MODE
value: "{{ .Values.kerberoshub.frontend.features.liveview.liveStreamMode }}"
- name: FEATURE_HLS_ENABLED
@@ -309,6 +315,8 @@ spec:
value: "{{ .Values.kerberoshub.frontend.features.devices.hideAgent }}"
# features > floorplan
- name: FEATURE_ASK_ENABLED
value: "{{ (.Values.kerberoshub.frontend.features.ask | default dict).enabled | default "false" }}"
- name: FEATURE_FLOORPLAN_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.floorplan.enabled }}"
# features > map
@@ -322,8 +322,14 @@ spec:
value: "{{ .Values.kerberoshub.frontend.features.audit.enabled }}"
- name: FEATURE_PASSKEYS_ENABLED
value: "{{ .Values.kerberoshub.api.passkeys.enabled }}"
- name: FEATURE_ACCOUNT_DELETION_ENABLED
value: "{{ (.Values.kerberoshub.api.accountDeletion | default dict).enabled | default false }}"
- name: FEATURE_ORGANISATION_DELETION_ENABLED
value: "{{ (.Values.kerberoshub.api.organisationDeletion | default dict).enabled | default false }}"
- name: FEATURE_DAY_OVERVIEW_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.dayOverview.enabled }}"
- name: FEATURE_MARKERS_ENABLED
value: "{{ (.Values.kerberoshub.frontend.features.markerOverview | default dict).enabled | default "false" }}"
- name: FEATURE_DEVICE_ANALYTICS_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.devices.analyticsEnabled }}"
- name: FEATURE_DASHBOARD_SITES_FULLSCREEN_ENABLED
@@ -352,6 +358,8 @@ spec:
value: "{{ .Values.kerberoshub.frontend.features.darkModeEnabled }}"
- name: FEATURE_SPLASH_SCREEN_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.splashScreen.enabled }}"
- name: ALLOW_INSPECTION
value: "{{ .Values.kerberoshub.frontend.features.inspection.enabled }}"
- name: FEATURE_LANDING_PAGE
value: "{{ .Values.kerberoshub.frontend.features.landingPage }}"
@@ -390,6 +398,8 @@ spec:
value: "{{ .Values.kerberoshub.frontend.features.devices.hideAgent }}"
# features > floorplan
- name: FEATURE_ASK_ENABLED
value: "{{ (.Values.kerberoshub.frontend.features.ask | default dict).enabled | default "false" }}"
- name: FEATURE_FLOORPLAN_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.floorplan.enabled }}"
@@ -495,6 +505,10 @@ spec:
value: {{ .Values.kerberoshub.frontend.features.media.filter.markerCategoryPriority.categories | toJson | replace "\\" "\\\\" | replace "'" "\\u0027" | quote }}
- name: FEATURE_MEDIA_FILTER_DEFAULT_VIEW
value: "{{ .Values.kerberoshub.frontend.features.media.filter.defaultView }}"
- name: FEATURE_MEDIA_TIMELINE_COLLAPSED_DESKTOP
value: "{{ .Values.kerberoshub.frontend.features.media.timeline.collapsed.desktop }}"
- name: FEATURE_MEDIA_TIMELINE_COLLAPSED_MOBILE
value: "{{ .Values.kerberoshub.frontend.features.media.timeline.collapsed.mobile }}"
- name: FEATURE_MEDIA_FILTER_EVENTS_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.media.filter.events.enabled }}"
- name: FEATURE_MEDIA_FILTER_TAGS_ENABLED
@@ -23,6 +23,9 @@ spec:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configMaps/configmap-mongodb.yaml") . | sha256sum }}
{{- if .Values.subscriptions.plans.enabled }}
checksum/plans: {{ .Files.Get "files/plans.yaml" | sha256sum }}
{{- end }}
labels:
app: pipe-analysis
spec:
@@ -34,7 +37,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- $mongodbTLS := .Values.mongodb.tls }}
{{- if or .Values.kerberospipeline.analysis.volumes (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
{{- if or .Values.subscriptions.plans.enabled .Values.kerberospipeline.analysis.volumes (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
volumes:
{{- with .Values.kerberospipeline.analysis.volumes }}
{{- toYaml . | nindent 8 }}
@@ -42,6 +45,11 @@ spec:
{{- if and $mongodbTLS.enabled $mongodbTLS.existingSecret }}
{{- include "hub.mongodb.tlsVolume" . | nindent 8 }}
{{- end }}
{{- if .Values.subscriptions.plans.enabled }}
- name: hub-plans
configMap:
name: hub-plans
{{- end }}
{{- end }}
{{- with .Values.kerberospipeline.analysis.topologySpreadConstraints }}
topologySpreadConstraints:
@@ -55,7 +63,7 @@ spec:
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if or .Values.kerberospipeline.analysis.volumeMounts (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
{{- if or .Values.subscriptions.plans.enabled .Values.kerberospipeline.analysis.volumeMounts (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
volumeMounts:
{{- with .Values.kerberospipeline.analysis.volumeMounts }}
{{- toYaml . | nindent 12 }}
@@ -63,12 +71,22 @@ spec:
{{- if and $mongodbTLS.enabled $mongodbTLS.existingSecret }}
{{- include "hub.mongodb.tlsVolumeMount" . | nindent 12 }}
{{- end }}
{{- if .Values.subscriptions.plans.enabled }}
- name: hub-plans
mountPath: /etc/kerberos/plans
readOnly: true
{{- end }}
{{- end }}
envFrom:
- configMapRef:
name: mongodb-config
env:
{{- include "hub.mongodb.appUriEnv" (dict "root" $ "app" "hub-pipeline-analysis") | nindent 8 }}
{{- if .Values.subscriptions.plans.enabled }}
# Plans (files/plans.yaml, subscriptions.plans.enabled).
- name: PLANS_FILE
value: /etc/kerberos/plans/plans.yaml
{{- end }}
- name: LOG_LEVEL
value: "{{ .Values.kerberospipeline.analysis.logLevel }}"
- name: CLOUD_PROVIDER
@@ -23,6 +23,9 @@ spec:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configMaps/configmap-mongodb.yaml") . | sha256sum }}
{{- if .Values.subscriptions.plans.enabled }}
checksum/plans: {{ .Files.Get "files/plans.yaml" | sha256sum }}
{{- end }}
labels:
app: pipe-monitor
spec:
@@ -34,7 +37,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- $mongodbTLS := .Values.mongodb.tls }}
{{- if or .Values.kerberospipeline.monitor.volumes (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
{{- if or .Values.subscriptions.plans.enabled .Values.kerberospipeline.monitor.volumes (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
volumes:
{{- with .Values.kerberospipeline.monitor.volumes }}
{{- toYaml . | nindent 8 }}
@@ -42,6 +45,11 @@ spec:
{{- if and $mongodbTLS.enabled $mongodbTLS.existingSecret }}
{{- include "hub.mongodb.tlsVolume" . | nindent 8 }}
{{- end }}
{{- if .Values.subscriptions.plans.enabled }}
- name: hub-plans
configMap:
name: hub-plans
{{- end }}
{{- end }}
{{- with .Values.kerberospipeline.monitor.topologySpreadConstraints }}
topologySpreadConstraints:
@@ -55,7 +63,7 @@ spec:
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if or .Values.kerberospipeline.monitor.volumeMounts (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
{{- if or .Values.subscriptions.plans.enabled .Values.kerberospipeline.monitor.volumeMounts (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
volumeMounts:
{{- with .Values.kerberospipeline.monitor.volumeMounts }}
{{- toYaml . | nindent 12 }}
@@ -63,12 +71,22 @@ spec:
{{- if and $mongodbTLS.enabled $mongodbTLS.existingSecret }}
{{- include "hub.mongodb.tlsVolumeMount" . | nindent 12 }}
{{- end }}
{{- if .Values.subscriptions.plans.enabled }}
- name: hub-plans
mountPath: /etc/kerberos/plans
readOnly: true
{{- end }}
{{- end }}
envFrom:
- configMapRef:
name: mongodb-config
env:
{{- include "hub.mongodb.appUriEnv" (dict "root" $ "app" "hub-pipeline-monitor") | nindent 8 }}
{{- if .Values.subscriptions.plans.enabled }}
# Plans (files/plans.yaml, subscriptions.plans.enabled).
- name: PLANS_FILE
value: /etc/kerberos/plans/plans.yaml
{{- end }}
# Application
- name: LOG_LEVEL
value: "{{ .Values.kerberospipeline.monitor.logLevel }}"
+20
View File
@@ -94,6 +94,26 @@
}
}
},
"subscriptions": {
"type": "object",
"additionalProperties": false,
"properties": {
"plans": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"description": "Mount the plan file (files/plans.yaml, ConfigMap hub-plans) into hub-api, pipe-monitor, pipe-analysis and hub-cleanup, with PLANS_FILE set to its path."
},
"newOrganisations": {
"type": "boolean",
"description": "With plans enabled, new organisations start in plans mode (PLANS_NEW_ORGANISATIONS on hub-api). Off: they start in legacy mode and are switched per organisation."
}
}
}
}
},
"kerberoshub": {
"type": "object",
"properties": {
+67 -2
View File
@@ -25,6 +25,12 @@ readOnly: false # Set to 'true' to halt all write operations to the database (e.
# - pipeline: pipeline only
# - ui: Hub services only
mode: "all"
# Mount the plan file (files/plans.yaml) into hub-api, pipe-monitor, pipe-analysis and hub-cleanup.
# newOrganisations: new organisations start in plans mode (otherwise owners and admins switch per organisation).
subscriptions:
plans:
enabled: false
newOrganisations: false
###########################################################################
# Image signature verification (Kyverno)
###########################################################################
@@ -381,7 +387,7 @@ kerberoshub:
api:
repository: ghcr.io/uug-ai/hub-api
pullPolicy: IfNotPresent
tag: "v1.11.42"
tag: "v1.11.43"
replicas: 2
podSecurityContext:
fsGroup: 65532
@@ -415,6 +421,7 @@ kerberoshub:
accessTokenTimeout: "15m" # Lifetime of one access token; the frontend renews it silently.
idleTimeout: "12h" # A session that is not used for this long ends.
maxLifetime: "24h" # Hard limit counted from login; the user must sign in again after it.
inactivityTimeout: "15m" # Without user interaction for this long, the frontend asks "Are you still there?" and signs out after 60s. "0" turns it off.
schema: "https"
url: "api.yourdomain.com"
# Additional complete HTTP(S) origins allowed to call the Hub API.
@@ -426,6 +433,20 @@ kerberoshub:
# Exact HTTP(S) origins for browser MCP clients; no wildcards or trailing slash.
# Clients without an Origin header (such as VS Code) need no entries.
allowedOrigins: []
# Ask: signed-in users ask questions about their recordings on the dashboard;
# an Azure OpenAI deployment answers them with the MCP tools, limited to the
# user's grants. Requires a compatible API image; also set
# frontend.features.ask.enabled to show the dashboard block.
ask:
enabled: false
azureOpenAI:
# Resource URL, e.g. https://my-resource.openai.azure.com
endpoint: ""
apiKey: ""
# Deployment name; the model must support function calling and structured output.
deployment: ""
# Optional: minimal, low, medium or high; leave empty for models without reasoning.
reasoningEffort: ""
# Temporarily stop serving the polled GET /devices list: hub-api answers 204
# without querying MongoDB. The frontend still loads devices once through
# /session/bootstrap, but device online/offline status stops refreshing.
@@ -434,6 +455,21 @@ kerberoshub:
# Kerberos Vault into an opaque hub-api URL ({schema}://{url}/media/proxy?t=...)
# and streams the object itself, so clients never see Vault or the
# underlying storage endpoint. Increases hub-api egress/bandwidth.
rbacOrganisations:
enabled: false # Every new organisation starts in rbac mode: created ones (POST /organisations) and new accounts' home organisations. Existing organisations keep their mode.
# Account deletion by the owner, on the profile page.
# A deletion locks the account at once and erases it after graceDays; the
# owner cancels it by signing in before then. hub-cleanup does the
# erasing: kerberoshub.cleanup.accountDeletion.purge.
accountDeletion:
enabled: false # Serves the delete route on hub-api and shows the Account tab in the frontend.
graceDays: 14 # Days a requested deletion can still be cancelled, 0 to 30.
# Deletion of an organisation by its primary owner, in the organisation
# settings. It closes the organisation to every member at once and erases
# it after accountDeletion.graceDays; the
# kerberoshub.cleanup.accountDeletion.purge worker does the erasing.
organisationDeletion:
enabled: false # Serves the delete route on hub-api and shows "Delete organisation" in the frontend.
mediaProxy:
enabled: false
publicUrl: "" # Optional override of the public hub-api base URL; defaults to {schema}://{url}.
@@ -555,7 +591,7 @@ kerberoshub:
frontend:
repository: ghcr.io/uug-ai/hub-frontend
pullPolicy: IfNotPresent
tag: "v1.19.35"
tag: "v1.19.42"
replicas: 2
containerPort: 8080
securityContext:
@@ -686,6 +722,8 @@ kerberoshub:
darkModeEnabled: "true" # Enable or disable dark mode toggle 'true' or 'false'
splashScreen:
enabled: "true" # Enable or disable the pre-bootstrap splash screen 'true' or 'false'
inspection:
enabled: "false" # In-app bug reports filed as GitHub issues via inspect.uug.ai (https://github.com/uug-ai/inspect) '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
@@ -705,6 +743,10 @@ kerberoshub:
# Day overview page and its navigation menu; role page permissions still apply.
dayOverview:
enabled: "true" # Enable or disable the Day overview page and navigation menu 'true' or 'false'
# Marker overview page (Analytics > Markers) and its navigation link; the Analytics page permission still applies.
# Only shows or hides this page: creating markers and the media marker filter are not affected.
markerOverview:
enabled: "false" # Enable or disable the Marker overview page and navigation link 'true' or 'false'
# Organisation controls remain visible as a read-only current organisation when switching is disabled.
organisations:
enabled: "" # Enable or disable the organisation feature family, including projects; when empty, child groups apply independently
@@ -791,6 +833,13 @@ kerberoshub:
tags:
enabled: "true" # Enable or disable tags filter in media 'true' or 'false'
defaultView: "timeline" # Default view for media page 'timeline' or 'grid'
# Recordings timeline on page load: collapsed to one combined activity row,
# or open with a row per device. Users can expand or collapse it afterwards;
# that choice lasts until the page is reloaded.
timeline:
collapsed:
desktop: "false" # Open the timeline collapsed on desktop 'true' or 'false'
mobile: "true" # Open the timeline collapsed on viewports up to 900 px wide 'true' or 'false'
# Chart feature
chart:
colors:
@@ -803,6 +852,9 @@ kerberoshub:
colorChartSelectionFill: "rgba(132, 86, 159, 0.07)"
colorChartSelectionStroke: "rgba(132, 86, 159, 0.4)"
colorChartGridStroke: "rgba(0, 106, 255, 0.18)"
# Ask about recordings on the dashboard; needs api.ask.enabled.
ask:
enabled: "false" # Enable or disable the dashboard Ask block 'true' or 'false'
# Floor-plan feature
floorplan:
enabled: "true" # Enable or disable floorplan feature 'true' or 'false'
@@ -892,6 +944,15 @@ kerberoshub:
deleteTimeoutSeconds: "120" # Delete timeout.
reportIncludeStats: "false" # Include richer dry-run/user summary stats.
dryRun: "false" # Force dry-run behavior without using mode=dry-run.
# Erasure of the accounts and organisations whose deletion is due
# (kerberoshub.api.accountDeletion / organisationDeletion). Every worker
# takes any due deletion in its database: enable it in exactly one
# deployment per database. It uses kerberosvault.*, kerberoshub.api.stripe
# and the audit transport.
accountDeletion:
purge:
enabled: false # Starts the worker in hub-cleanup that erases due accounts and organisations from the database, storage and Stripe.
dryRun: false # The worker counts what it would erase, writes the counts to the request and deletes nothing. dryRun / mode dry-run above imply it.
debug: "false" # Extra per-user/global debug logging.
globalPassEnabled: "false" # Enable post-user global cleanup pass.
globalPassIntervalHours: "0" # 0 = every cycle when enabled.
@@ -1612,6 +1673,10 @@ email:
caseShareOtpTitle: "Your Kerberos Hub verification code"
assignTask: "assign_task"
assignTaskTitle: "[Action] You've been assigned to a task"
# Sent by the API when someone is invited to an organisation. Empty
# sends no invitation email: the inviter still gets the link to share.
invitation: "invitation"
invitationTitle: "You're invited to join an organisation on Kerberos Hub"
detection: "detection"
disabled: "disable"
highupload: "highupload"
+1 -1
View File
@@ -29,7 +29,7 @@ for mode in all ui; do
--set kerberoshub.frontend.demoEnabled=true)"
for name in hub-frontend hub-frontend-demo; do
deployment="$(resource Deployment "$name" <<< "$rendered")"
assert_contains "$deployment" 'image: "ghcr.io/uug-ai/hub-frontend:v1.19.35"$'
assert_contains "$deployment" 'image: "ghcr.io/uug-ai/hub-frontend:v1.19.42"$'
assert_contains "$deployment" 'containerPort: 8080$'
[[ "$(grep -c 'containerPort:' <<< "$deployment")" == 1 ]]
for setting in 'name: http' 'runAsNonRoot: true' 'runAsUser: 65532' \
+71
View File
@@ -0,0 +1,71 @@
#!/usr/bin/env bash
set -euo pipefail
CHART_DIR="${1:-charts/hub}"
# Prints "<deployment> <variable> <value>" for every ASK_ and FEATURE_ASK_ variable.
extract_ask() {
awk '
/^---/ { deployment=0; name=""; variable="" }
/^kind: Deployment$/ { deployment=1 }
deployment && /^ name:/ { name=$2 }
/- name: (FEATURE_)?ASK_/ { variable=$3; next }
variable != "" && /value:/ {
value=$0
sub(/^[[:space:]]*value: /, "", value)
print name, variable, value
variable=""
}
' | sort
}
assert_ask() {
local rendered="$1" expected="$2" actual
actual="$(printf '%s\n' "$rendered" | extract_ask)"
if [[ "$actual" != "$expected" ]]; then
printf 'Unexpected Ask environment:\n%s\nExpected:\n%s\n' "$actual" "$expected" >&2
return 1
fi
}
model=(
--set kerberoshub.api.ask.azureOpenAI.endpoint=https://ask.example.openai.azure.com
--set kerberoshub.api.ask.azureOpenAI.apiKey=test-key
--set kerberoshub.api.ask.azureOpenAI.deployment=ask-model
--set kerberoshub.api.ask.azureOpenAI.reasoningEffort=low
)
assert_ask "$(helm template hub "$CHART_DIR")" "$(printf '%s\n' \
'hub-api ASK_ENABLED "false"' \
'hub-frontend FEATURE_ASK_ENABLED "false"')"
echo "OK: Ask is off by default and passes no model settings"
assert_ask "$(helm template hub "$CHART_DIR" --set kerberoshub.api.ask.enabled=true \
--set kerberoshub.frontend.features.ask.enabled=true "${model[@]}")" "$(printf '%s\n' \
'hub-api ASK_AZURE_OPENAI_API_KEY "test-key"' \
'hub-api ASK_AZURE_OPENAI_DEPLOYMENT "ask-model"' \
'hub-api ASK_AZURE_OPENAI_ENDPOINT "https://ask.example.openai.azure.com"' \
'hub-api ASK_AZURE_OPENAI_REASONING_EFFORT "low"' \
'hub-api ASK_ENABLED "true"' \
'hub-frontend FEATURE_ASK_ENABLED "true"')"
echo "OK: enabled Ask passes the model settings to hub-api only"
assert_ask "$(helm template hub "$CHART_DIR" --set kerberoshub.api.ask=null --set kerberoshub.frontend.features.ask=null)" \
"$(printf '%s\n' 'hub-api ASK_ENABLED "false"' 'hub-frontend FEATURE_ASK_ENABLED "false"')"
echo "OK: values files without an ask section keep it off"
[[ -z "$(helm template hub "$CHART_DIR" --set mode=pipeline --set kerberoshub.api.ask.enabled=true "${model[@]}" | extract_ask)" ]]
echo "OK (pipeline): no Ask environment"
for missing in endpoint apiKey deployment; do
if output="$(helm template hub "$CHART_DIR" --set kerberoshub.api.ask.enabled=true "${model[@]}" \
--set "kerberoshub.api.ask.azureOpenAI.$missing=" 2>&1)"; then
echo "Rendering succeeded without azureOpenAI.$missing" >&2
exit 1
fi
grep -q "kerberoshub.api.ask.azureOpenAI.$missing is required" <<< "$output"
done
echo "OK: enabled Ask requires endpoint, apiKey and deployment"
helm lint "$CHART_DIR" --quiet --set kerberoshub.api.ask.enabled=true "${model[@]}"
echo "All Hub Ask configuration checks passed."