mirror of
https://github.com/kerberos-io/helm-charts.git
synced 2026-11-20 22:50:22 +00:00
Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
698dfb4f81 | ||
|
|
2ab970a82c | ||
|
|
7f5adf2e1c | ||
|
|
17829c9b6b | ||
|
|
08de8348f6 | ||
|
|
253ca3968f | ||
|
|
1fdd957592 | ||
|
|
03d4571eb7 |
@@ -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.198.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
|
||||
|
||||
@@ -918,9 +918,7 @@ kerberospipeline:
|
||||
| `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.accountDeletion.purge.enabled` | Starts the hub-api worker that erases accounts whose grace period has passed, with their recordings in storage and their Stripe customer (`ACCOUNT_DELETION_PURGE_ENABLED`). Without it requested deletions stay locked and nothing is erased. Enable it only in the environment that owns the database: a deployment that shares a database with another one erases that database's accounts. | `false` |
|
||||
| `kerberoshub.api.accountDeletion.purge.dryRun` | The worker counts what it would erase, writes the counts to the `account_deletions` document of the request and deletes nothing (`ACCOUNT_DELETION_PURGE_DRY_RUN`). | `false` |
|
||||
| `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 `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.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`. | `""` |
|
||||
@@ -1069,6 +1067,8 @@ 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)"` |
|
||||
@@ -1112,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"` |
|
||||
|
||||
@@ -426,17 +426,18 @@ spec:
|
||||
- name: RBAC_ORGANISATIONS_ENABLED
|
||||
value: {{ (.Values.kerberoshub.api.rbacOrganisations | default dict).enabled | default false | quote }}
|
||||
|
||||
# Account deletion by the owner; the purge worker has its own switch.
|
||||
# Account deletion by the owner; hub-cleanup erases due deletions.
|
||||
{{- $accountDeletion := .Values.kerberoshub.api.accountDeletion | default dict }}
|
||||
{{- $accountPurge := $accountDeletion.purge | 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: {{ $accountPurge.enabled | default false | quote }}
|
||||
- name: ACCOUNT_DELETION_PURGE_DRY_RUN
|
||||
value: {{ $accountPurge.dryRun | default false | quote }}
|
||||
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 }}
|
||||
|
||||
@@ -139,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 }}
|
||||
|
||||
@@ -505,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
|
||||
|
||||
+20
-6
@@ -459,17 +459,15 @@ kerberoshub:
|
||||
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.
|
||||
# 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.
|
||||
purge:
|
||||
enabled: false # Starts the hub-api worker that erases due accounts from this deployment's database and storage. Enable it only in the environment that owns the database.
|
||||
dryRun: false # The worker counts what it would erase, writes the counts to the request and deletes nothing.
|
||||
# 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 accountDeletion.purge worker
|
||||
# does the erasing.
|
||||
# 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:
|
||||
@@ -835,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:
|
||||
@@ -939,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.
|
||||
|
||||
Reference in New Issue
Block a user