Merge pull request #56 from kerberos-io/feature/add-faceredaction-variables

feature/add-faceredaction-variables
This commit is contained in:
Cédric Verstraeten
2025-10-03 07:37:33 +02:00
committed by GitHub
3 changed files with 53 additions and 9 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.90.0
version: 0.91.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

@@ -347,17 +347,42 @@ spec:
value: "{{ .Values.kerberoshub.frontend.colorFloorPlanLabelBackground }}"
- name: COLOR_DEVICE_MARKER_BORDER
value: "{{ .Values.kerberoshub.frontend.colorDeviceMarkerBorder }}"
- name: FEATURE_FACE_REDACTION
value: "{{ .Values.kerberoshub.frontend.features.faceRedaction }}"
- name: COLOR_TRACK_BOX
value: "{{ .Values.kerberoshub.frontend.colorTrackBox }}"
- name: COLOR_TRACK_BOX_HOVER
value: "{{ .Values.kerberoshub.frontend.colorTrackBoxHover }}"
- name: COLOR_TRACK_BOX_DRAWING
value: "{{ .Values.kerberoshub.frontend.colorTrackBoxDrawing }}"
- name: COLOR_TRACK_BOX_CONTROLS_DELETE
value: "{{ .Values.kerberoshub.frontend.colorTrackBoxControlsDelete }}"
- name: MARKERS_NAME
value: "{{ .Values.kerberoshub.frontend.markersName }}"
- name: EVENTS_NAME
value: "{{ .Values.kerberoshub.frontend.eventsName }}"
- name: FLOOR_PLAN_NAME
value: "{{ .Values.kerberoshub.frontend.floorPlanName }}"
- name: SITES_NAME
value: "{{ .Values.kerberoshub.frontend.sitesName }}"
- name: SITES_DESCRIPTION
value: "{{ .Values.kerberoshub.frontend.sitesDescription }}"
- name: GROUPS_NAME
value: "{{ .Values.kerberoshub.frontend.groupsName }}"
- name: GROUPS_DESCRIPTION
value: "{{ .Values.kerberoshub.frontend.groupsDescription }}"
- name: SITE_GROUP_NAME
value: "{{ .Values.kerberoshub.frontend.siteGroupName }}"
- name: SITE_GROUP_DESCRIPTION
value: "{{ .Values.kerberoshub.frontend.siteGroupDescription }}"
- name: DEVICE_GROUP_NAME
value: "{{ .Values.kerberoshub.frontend.deviceGroupName }}"
- name: DEVICE_GROUP_DESCRIPTION
value: "{{ .Values.kerberoshub.frontend.deviceGroupDescription }}"
{{- if .Values.kerberoshub.extraEnv }}
{{- toYaml .Values.kerberoshub.extraEnv | nindent 8 }}
{{- end }}

View File

@@ -305,7 +305,7 @@ kerberoshub:
# By default the Kerberos Hub allows multi-tenancy through the concept
# of accounts and subaccounts. However through the concept of domains, you
# take it a step further. Within a domain, user accounts are unique, and are prefixed by a (domain\).
#multiTenant: true
multiTenant: false
#tenantBaseDomain: "yourdomain.com" # this would resolve in following sub domain "https://domain.kerberos.io"
# Page title (browser)
@@ -331,6 +331,19 @@ kerberoshub:
# persistentVolumeClaim:
# claimName: custom-favicon-claim
# Override naming conventions within the front-end.
floorPlanName: "map" # The name of the 'floor plan' feature to use in the front-end.
sitesName: "site" # The name of the 'sites' feature to use in the front-end.
sitesDescription: "" # The description of the 'sites' feature to use in the front-end.
groupsName: "group" # The name of the 'groups' feature to use in the front-end.
groupsDescription: "" # The description of the 'groups' feature to use in the front-end.
siteGroupName: "site Group" # The name of the 'site groups' feature to use in the front-end.
siteGroupDescription: "" # The description of the 'site groups' feature to use in the front-end.
deviceGroupName: "device Group" # The name of the 'device groups' feature to use in the front-end.
deviceGroupDescription: "" # The description of the 'device groups' feature to use in the front-end.
markersName: "marker" # The name of the 'markers' feature to use in the front-end.
eventsName: "event" # The name of the 'events' feature to use in the front-end.
# By specifying the below environments variables, you can tweak the
# headings and paragraphs of Kerberos Hub front-end.
# Login page
@@ -342,6 +355,9 @@ kerberoshub:
# Latest events page
latestEventsTitle: ""
latestEventsSubTitle: ""
# Day title
dayTitle: ""
daySubTitle: ""
# Livestream/view page
livestreamTitle: ""
livestreamSubTitle: ""
@@ -365,6 +381,7 @@ kerberoshub:
navigationLinkTitle5: ""
navigationLinkUrl5: ""
caseFilterAssigneesDefault: "false"
# Custom colors for floor-plans, update the colors of the corresponding device icons to match these
# charts/hub/custom-layout/icons.js
colorDeviceActive: "hsla(131, 31%, 52%, 1)"
@@ -376,12 +393,14 @@ kerberoshub:
colorFloorPlanLabelText: "hsla(0, 0%, 100%, 1)"
colorFloorPlanLabelBackground: "hsla(0, 0%, 0%, 0.8)"
colorDeviceMarkerBorder: "hsla(0, 0%, 100%, 1)" # Border around the device marker circle on the map
# Override naming conventions within the front-end.
floorPlanName: "map" # The name of the 'floor plan' feature to use in the front-end.
sitesName: "Sites" # The name of the 'sites' feature to use in the front-end.
groupsName: "Groups" # The name of the 'groups' feature to use in the front-end.
siteGroupName: "Site Groups" # The name of the 'site groups' feature to use in the front-end.
deviceGroupName: "Device Groups" # The name of the 'device groups' feature to use in the front-end.
colorTrackBox: "hsla(278, 30%, 48%, 1)" # Boxes shown on the video
colorTrackBoxHover: "hsla(47, 86%, 47%, 1)" # Boxes while hovering over the associated track
colorTrackBoxDrawing: "hsla(204, 100%, 50%, 1)" # New box while drawing
colorTrackBoxControlsDelete: "hsla(219, 100%, 94%, 1)" # Delete icon top right of the box while editing
features:
faceRedaction: "false" # Enable or disable face redaction 'true' or 'false
support:
enabled: false
oauth2Proxy: