mirror of
https://github.com/kerberos-io/helm-charts.git
synced 2026-11-23 23:20:23 +00:00
Compare commits
18
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49f7361244 | ||
|
|
ca70077b59 | ||
|
|
999c7e8288 | ||
|
|
fe1c4abdc5 | ||
|
|
25af112d26 | ||
|
|
c809980b4a | ||
|
|
33271c32fc | ||
|
|
1cc483a67c | ||
|
|
a6981c11c0 | ||
|
|
17960aace9 | ||
|
|
de84a423a3 | ||
|
|
698dfb4f81 | ||
|
|
2ab970a82c | ||
|
|
7f5adf2e1c | ||
|
|
17829c9b6b | ||
|
|
08de8348f6 | ||
|
|
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.204.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
|
||||
|
||||
+17
-3
@@ -811,6 +811,9 @@ kerberospipeline:
|
||||
| `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` |
|
||||
| `organisations.mode` | `legacy` (default) keeps the deployment on owner account > sub accounts > roles, with the subscription and agent keys on the owner: the chart refuses to render while any organisation feature is on (`subscriptions.plans.*`, `organisations.onboarding.enabled`, `kerberoshub.api.rbacOrganisations.enabled`, `kerberoshub.api.organisationDeletion.enabled`, the `kerberoshub.frontend.features.organisations.*` / `projects.*` flags, and the same features set directly in `kerberoshub.extraEnv`: `PLANS_FILE`, `PLANS_NEW_ORGANISATIONS`, `ONBOARDING_ENABLED`, `RBAC_ORGANISATIONS_ENABLED`, `FEATURE_ORGANISATION_DELETION_ENABLED` and the frontend's `FEATURE_ORGANISATION*`, `FEATURE_PROJECT*` and `FEATURE_MEMBERS_ACCESS_PREVIEW_ENABLED`; a `valueFrom` for one of them counts as on) and names them. `custom` lets every organisation feature follow its own setting. Keep `custom` once an organisation has been switched to plans or rbac mode. | `legacy` |
|
||||
| `organisations.onboarding.enabled` | Accounts are created without an organisation (sets `ONBOARDING_ENABLED` on hub-api): `/register` stores only the account, an invitation link can create the account it invites, and at first sign-in the account accepts an invitation, selects an organisation it belongs to or creates its own, which starts in rbac mode. Requires a hub-frontend with the onboarding page; without it, new accounts have no organisation to work in and hub-api answers `409 organisation_required`. Off keeps the legacy sign-up: `/register` creates the account with its own organisation, subscription and keys on the owner. Needs `organisations.mode: custom`. An `ONBOARDING_ENABLED` or `ONBOARDING_ORGANISATION_CREATE` already in `kerberoshub.extraEnv` takes precedence and is not set twice. | `false` |
|
||||
| `organisations.onboarding.organisationCreation` | With onboarding on, an account without an organisation may create one in the onboarding step (sets `ONBOARDING_ORGANISATION_CREATE` on hub-api). `false` for invite-only deployments: such accounts can only join through an invitation. | `true` |
|
||||
| `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"` |
|
||||
@@ -853,6 +856,10 @@ kerberospipeline:
|
||||
| `turn.host` | TURN/STUN hostname, by default `'turn:turn.yourdomain.com:8443'` | `"turn:turn.yourdomain.com:8443"` |
|
||||
| `turn.username` | TURN/STUN username, by default `'username1'` | `"username1"` |
|
||||
| `turn.password` | TURN/STUN password, by default `'password1'` | `"password1"` |
|
||||
| `pusher.appId` | Pusher app ID for in-app browser notifications from hub-api and the device monitor, rendered as `PUSHER_APP_ID` (hub-api and hub-monitor-device built on github.com/uug-ai/integrations). | `""` |
|
||||
| `pusher.key` | Pusher app key, rendered as `PUSHER_KEY`. | `""` |
|
||||
| `pusher.secret` | Pusher app secret, rendered as `PUSHER_SECRET`. | `""` |
|
||||
| `pusher.cluster` | Pusher cluster, rendered as `PUSHER_CLUSTER`. | `"eu"` |
|
||||
| `opentelemetry.enabled` | Enable or disable OpenTelemetry instrumentation. | `false` |
|
||||
| `opentelemetry.routingEnabled` | Enable or disable OpenTelemetry routing/export behavior. | `false` |
|
||||
| `opentelemetry.collector.endpoint` | OpenTelemetry collector endpoint used for trace export. | `"http://otel-collector:4317"` |
|
||||
@@ -918,9 +925,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`. | `""` |
|
||||
@@ -929,6 +934,9 @@ kerberospipeline:
|
||||
| `kerberoshub.api.resources.requests.cpu` | CPU request for `kerberoshub.api`. | `"250m"` |
|
||||
| `kerberoshub.api.resources.limits.memory` | Memory limit for `kerberoshub.api`. | `"100Mi"` |
|
||||
| `kerberoshub.api.resources.limits.cpu` | CPU limit for `kerberoshub.api`. | `"250m"` |
|
||||
| `kerberoshub.api.serviceMonitor.enabled` | Create a Prometheus `ServiceMonitor` for hub-api `/metrics` on the backend port (request metrics and `mongodb_client_*` command metrics). Requires `kerberoshub.api.serviceEnabled`. | `true` |
|
||||
| `kerberoshub.api.serviceMonitor.interval` | hub-api metrics scrape interval. | `"15s"` |
|
||||
| `kerberoshub.api.blockPublicMetrics` | With `ingress: nginx`, add the `hub-api-metrics-deny` Ingress so `/metrics` answers 403 on the API, legacy and admin hosts. Prometheus scrapes the Service directly and is not affected. | `true` |
|
||||
| `kerberoshub.api.serverTLS.enabled` | Enable or disable `kerberoshub.api.serverTLS`. | `false` |
|
||||
| `kerberoshub.api.serverTLS.secretName` | Kubernetes Secret name used by `kerberoshub.api.serverTLS`. | `""` |
|
||||
| `kerberoshub.api.serverTLS.mountPath` | Filesystem path where the Hub API TLS secret is mounted. | `"/etc/hub-api/tls"` |
|
||||
@@ -1069,6 +1077,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 +1122,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"` |
|
||||
@@ -1165,6 +1177,8 @@ kerberospipeline:
|
||||
| `kerberoshub.monitordevice.replicas` | Number of replicas for `kerberoshub.monitordevice`. | `1` |
|
||||
| `kerberoshub.monitordevice.logLevel` | Log verbosity level for `kerberoshub.monitordevice`. | `"info"` |
|
||||
| `kerberoshub.monitordevice.scanIntervalSeconds` | Seconds between device status scans. Sets how quickly a camera going offline or online is detected. For accounts with "Group notifications" on, `hub-monitor-device` v1.4.10 and later then hold a change 20 seconds (`DEVICE_GROUPING_HOLD_SECONDS`) to collect other cameras that change status at the same time; older releases hold it one scan. | `60` |
|
||||
| `kerberoshub.monitordevice.serviceMonitor.enabled` | Create a Service and Prometheus `ServiceMonitor` for hub-monitor-device `/metrics` on port 8080 (scan counters and `mongodb_client_*` command metrics). Enable only with a hub-monitor-device release that serves `/metrics`. | `false` |
|
||||
| `kerberoshub.monitordevice.serviceMonitor.interval` | hub-monitor-device metrics scrape interval. | `"15s"` |
|
||||
| `kerberoshub.monitordevice.resources.requests.memory` | Memory request for `kerberoshub.monitordevice`. | `"10Mi"` |
|
||||
| `kerberoshub.monitordevice.resources.requests.cpu` | CPU request for `kerberoshub.monitordevice`. | `"10m"` |
|
||||
| `kerberoshub.reactivate.repository` | Container image repository for `kerberoshub.reactivate`. | `"ghcr.io/uug-ai/hub-reactivatesubscriptions"` |
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
{{/*
|
||||
organisations.mode: legacy keeps the deployment on owner account > sub
|
||||
accounts > roles. Fail when an organisation feature is switched on, so a
|
||||
values file never half-enables organisations; custom lets every flag apply.
|
||||
*/}}
|
||||
{{- define "hub.organisations.validate" -}}
|
||||
{{- $organisations := .Values.organisations | default dict -}}
|
||||
{{- $mode := $organisations.mode | default "legacy" -}}
|
||||
{{- if not (has $mode (list "legacy" "custom")) -}}
|
||||
{{- fail (printf "organisations.mode must be legacy or custom, got %q" $mode) -}}
|
||||
{{- end -}}
|
||||
{{- if eq $mode "legacy" -}}
|
||||
{{- $plans := (.Values.subscriptions | default dict).plans | default dict -}}
|
||||
{{- $api := (.Values.kerberoshub | default dict).api | default dict -}}
|
||||
{{- $features := ((.Values.kerberoshub | default dict).frontend | default dict).features | default dict -}}
|
||||
{{- $orgUI := $features.organisations | default dict -}}
|
||||
{{- $projectUI := $features.projects | default dict -}}
|
||||
{{- $flags := list
|
||||
(list "subscriptions.plans.enabled" $plans.enabled)
|
||||
(list "subscriptions.plans.newOrganisations" $plans.newOrganisations)
|
||||
(list "organisations.onboarding.enabled" ($organisations.onboarding | default dict).enabled)
|
||||
(list "kerberoshub.api.rbacOrganisations.enabled" ($api.rbacOrganisations | default dict).enabled)
|
||||
(list "kerberoshub.api.organisationDeletion.enabled" ($api.organisationDeletion | default dict).enabled)
|
||||
(list "kerberoshub.frontend.features.organisations.enabled" $orgUI.enabled)
|
||||
(list "kerberoshub.frontend.features.organisations.switcherEnabled" $orgUI.switcherEnabled)
|
||||
(list "kerberoshub.frontend.features.organisations.creationEnabled" $orgUI.creationEnabled)
|
||||
(list "kerberoshub.frontend.features.organisations.settingsEnabled" $orgUI.settingsEnabled)
|
||||
(list "kerberoshub.frontend.features.organisations.membersAccessPreviewEnabled" $orgUI.membersAccessPreviewEnabled)
|
||||
(list "kerberoshub.frontend.features.projects.enabled" $projectUI.enabled)
|
||||
(list "kerberoshub.frontend.features.projects.switcherEnabled" $projectUI.switcherEnabled)
|
||||
(list "kerberoshub.frontend.features.projects.creationEnabled" $projectUI.creationEnabled)
|
||||
(list "kerberoshub.frontend.features.projects.settingsEnabled" $projectUI.settingsEnabled)
|
||||
-}}
|
||||
{{- $on := list -}}
|
||||
{{- range $flags -}}
|
||||
{{- if eq (index . 1 | toString | lower) "true" -}}
|
||||
{{- $on = append $on (index . 0) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- /*
|
||||
The same features set directly in kerberoshub.extraEnv (hub-api and the
|
||||
frontend). Booleans count when true as hub-api parses them; PLANS_FILE
|
||||
counts when set. A valueFrom cannot be read here, so it counts as on.
|
||||
*/ -}}
|
||||
{{- $booleanEnv := list
|
||||
"PLANS_NEW_ORGANISATIONS" "ONBOARDING_ENABLED" "RBAC_ORGANISATIONS_ENABLED"
|
||||
"FEATURE_ORGANISATION_DELETION_ENABLED"
|
||||
"FEATURE_ORGANISATIONS_ENABLED" "FEATURE_ORGANISATION_SWITCHER_ENABLED"
|
||||
"FEATURE_ORGANISATION_CREATION_ENABLED" "FEATURE_ORGANISATION_SETTINGS_ENABLED"
|
||||
"FEATURE_MEMBERS_ACCESS_PREVIEW_ENABLED"
|
||||
"FEATURE_PROJECTS_ENABLED" "FEATURE_PROJECT_SWITCHER_ENABLED"
|
||||
"FEATURE_PROJECT_CREATION_ENABLED" "FEATURE_PROJECT_SETTINGS_ENABLED"
|
||||
-}}
|
||||
{{- range ((.Values.kerberoshub | default dict).extraEnv | default list) -}}
|
||||
{{- $name := .name | default "" | toString -}}
|
||||
{{- $value := .value | default "" | toString | trim | lower -}}
|
||||
{{- $label := printf "kerberoshub.extraEnv %s" $name -}}
|
||||
{{- if or (eq $name "PLANS_FILE") (has $name $booleanEnv) -}}
|
||||
{{- if .valueFrom -}}
|
||||
{{- $on = append $on (printf "%s (valueFrom)" $label) -}}
|
||||
{{- else if and (eq $name "PLANS_FILE") $value -}}
|
||||
{{- $on = append $on $label -}}
|
||||
{{- else if and (has $name $booleanEnv) (has $value (list "true" "1" "t")) -}}
|
||||
{{- $on = append $on $label -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- if $on -}}
|
||||
{{- fail (printf "organisations.mode is legacy, but these organisation features are on: %s. Switch them off, or set organisations.mode: custom." (join ", " $on)) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Comma-separated names in kerberoshub.extraEnv: chart-set variables they name are left out, so extraEnv keeps winning without duplicates. */}}
|
||||
{{- define "hub.extraEnv.names" -}}
|
||||
{{- $names := list -}}
|
||||
{{- range ((.Values.kerberoshub | default dict).extraEnv | default list) -}}
|
||||
{{- $names = append $names (.name | toString) -}}
|
||||
{{- end -}}
|
||||
{{- join "," $names -}}
|
||||
{{- end -}}
|
||||
@@ -0,0 +1,50 @@
|
||||
{{- if and (or (eq .Values.mode "all") (eq .Values.mode "ui")) (eq .Values.ingress "nginx") .Values.kerberoshub.api.blockPublicMetrics (.Capabilities.APIVersions.Has "networking.k8s.io/v1") -}}
|
||||
# Deny /metrics on hub-api's public hosts. hub-api serves Prometheus metrics
|
||||
# (request metrics and mongodb_client_* database, collection and command
|
||||
# names) on the same port as the API, and hub-api-ingress routes every path to
|
||||
# it. ingress-nginx applies this Ingress's annotations only to its own paths,
|
||||
# so /metrics answers 403 while every other path keeps hub-api-ingress's
|
||||
# settings. Prometheus scrapes the Service directly and is not affected.
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: hub-api-metrics-deny
|
||||
namespace: {{ .Release.Namespace }}
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/denylist-source-range: "0.0.0.0/0,::/0"
|
||||
spec:
|
||||
ingressClassName: {{ .Values.ingress }}
|
||||
rules:
|
||||
- host: "{{ .Values.kerberoshub.api.url }}"
|
||||
http:
|
||||
paths:
|
||||
- path: /metrics
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: hub-api-svc
|
||||
port:
|
||||
number: 8081
|
||||
{{- if and .Values.kerberoshub.api.legacyUrl (ne .Values.kerberoshub.api.legacyUrl .Values.kerberoshub.api.url) }}
|
||||
- host: "{{ .Values.kerberoshub.api.legacyUrl }}"
|
||||
http:
|
||||
paths:
|
||||
- path: /metrics
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: hub-api-svc
|
||||
port:
|
||||
number: 8081
|
||||
{{- end }}
|
||||
- host: "admin.{{ .Values.kerberoshub.api.url }}"
|
||||
http:
|
||||
paths:
|
||||
- path: /metrics
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: hub-api-svc
|
||||
port:
|
||||
number: 80
|
||||
{{- end }}
|
||||
@@ -0,0 +1,28 @@
|
||||
{{- $serviceMonitor := .Values.kerberoshub.api.serviceMonitor | default dict -}}
|
||||
{{- if and (or (eq .Values.mode "all") (eq .Values.mode "ui")) .Values.kerberoshub.api.serviceEnabled $serviceMonitor.enabled -}}
|
||||
# Scrapes hub-api's /metrics on the backend port: gin request metrics and the
|
||||
# database library's mongodb_client_* command and reply-byte metrics.
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: hub-api-servicemonitor
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
service: hub-api
|
||||
release: prometheus
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: hub-api-svc
|
||||
endpoints:
|
||||
- port: backend
|
||||
interval: {{ $serviceMonitor.interval | default "15s" }}
|
||||
path: /metrics
|
||||
{{- if .Values.kerberoshub.api.serverTLS.enabled }}
|
||||
scheme: https
|
||||
tlsConfig:
|
||||
# The serving certificate is issued for the public host, not the
|
||||
# in-cluster Service name Prometheus scrapes.
|
||||
insecureSkipVerify: true
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -59,7 +59,7 @@ spec:
|
||||
name: hub-api-svc
|
||||
port:
|
||||
number: 8081
|
||||
{{- if .Values.kerberoshub.api.legacyUrl }}
|
||||
{{- if and .Values.kerberoshub.api.legacyUrl (ne .Values.kerberoshub.api.legacyUrl .Values.kerberoshub.api.url) }}
|
||||
- host: "{{ .Values.kerberoshub.api.legacyUrl }}"
|
||||
http:
|
||||
paths:
|
||||
@@ -90,7 +90,7 @@ spec:
|
||||
backend:
|
||||
serviceName: hub-api-svc
|
||||
servicePort: 8081
|
||||
{{- if .Values.kerberoshub.api.legacyUrl }}
|
||||
{{- if and .Values.kerberoshub.api.legacyUrl (ne .Values.kerberoshub.api.legacyUrl .Values.kerberoshub.api.url) }}
|
||||
- host: "{{ .Values.kerberoshub.api.legacyUrl }}"
|
||||
http:
|
||||
paths:
|
||||
@@ -426,21 +426,35 @@ 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 }}
|
||||
|
||||
# Onboarding: /register creates only the account; the organisation comes at first sign-in.
|
||||
# A variable already set in kerberoshub.extraEnv is left to it.
|
||||
{{- $onboarding := (.Values.organisations | default dict).onboarding | default dict }}
|
||||
{{- $extraEnvNames := splitList "," (include "hub.extraEnv.names" .) }}
|
||||
{{- if not (has "ONBOARDING_ENABLED" $extraEnvNames) }}
|
||||
- name: ONBOARDING_ENABLED
|
||||
value: {{ $onboarding.enabled | default false | quote }}
|
||||
{{- end }}
|
||||
{{- if not (has "ONBOARDING_ORGANISATION_CREATE" $extraEnvNames) }}
|
||||
- name: ONBOARDING_ORGANISATION_CREATE
|
||||
value: {{ if hasKey $onboarding "organisationCreation" }}{{ $onboarding.organisationCreation | quote }}{{ else }}"true"{{ end }}
|
||||
{{- end }}
|
||||
|
||||
# Media proxy: hide Vault/storage endpoints behind hub-api URLs.
|
||||
{{- $mediaProxy := .Values.kerberoshub.api.mediaProxy | default dict }}
|
||||
- name: MEDIA_PROXY_ENABLED
|
||||
@@ -588,6 +602,16 @@ spec:
|
||||
- name: SLACK_USERNAME
|
||||
value: "{{ .Values.kerberoshub.api.slack.username }}"
|
||||
|
||||
# Pusher (in-app notifications)
|
||||
- name: PUSHER_APP_ID
|
||||
value: {{ .Values.pusher.appId | quote }}
|
||||
- name: PUSHER_KEY
|
||||
value: {{ .Values.pusher.key | quote }}
|
||||
- name: PUSHER_SECRET
|
||||
value: {{ .Values.pusher.secret | quote }}
|
||||
- name: PUSHER_CLUSTER
|
||||
value: {{ .Values.pusher.cluster | quote }}
|
||||
|
||||
# Mail settings
|
||||
- name: MAIL_PROVIDER
|
||||
value: "{{ .Values.email.provider }}"
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -55,7 +55,7 @@ spec:
|
||||
name: hub-frontend-svc
|
||||
port:
|
||||
number: 80
|
||||
{{- if .Values.kerberoshub.frontend.legacyUrl }}
|
||||
{{- if and .Values.kerberoshub.frontend.legacyUrl (ne .Values.kerberoshub.frontend.legacyUrl .Values.kerberoshub.frontend.url) }}
|
||||
- host: "{{ .Values.kerberoshub.frontend.legacyUrl }}"
|
||||
http:
|
||||
paths:
|
||||
@@ -89,7 +89,7 @@ spec:
|
||||
backend:
|
||||
serviceName: hub-frontend-svc
|
||||
servicePort: 80
|
||||
{{- if .Values.kerberoshub.frontend.legacyUrl }}
|
||||
{{- if and .Values.kerberoshub.frontend.legacyUrl (ne .Values.kerberoshub.frontend.legacyUrl .Values.kerberoshub.frontend.url) }}
|
||||
- host: "{{ .Values.kerberoshub.frontend.legacyUrl }}"
|
||||
http:
|
||||
paths:
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
{{- $serviceMonitor := .Values.kerberoshub.monitordevice.serviceMonitor | default dict -}}
|
||||
{{- if and (or (eq .Values.mode "all") (eq .Values.mode "ui")) $serviceMonitor.enabled -}}
|
||||
# hub-monitor-device serves /metrics on :8080 from the release that added
|
||||
# METRICS_ADDR: scan counters and the database library's mongodb_client_*
|
||||
# command and reply-byte metrics. It has no other Service.
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: hub-monitor-device-svc
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
service: hub-monitor-device
|
||||
spec:
|
||||
ports:
|
||||
- port: 8080
|
||||
name: hub-metrics
|
||||
targetPort: hub-metrics
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: hub-monitor-device
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: hub-monitor-device-servicemonitor
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
service: hub-monitor-device
|
||||
release: prometheus
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
service: hub-monitor-device
|
||||
endpoints:
|
||||
- port: hub-metrics
|
||||
interval: {{ $serviceMonitor.interval | default "15s" }}
|
||||
path: /metrics
|
||||
{{- end }}
|
||||
@@ -59,6 +59,12 @@ spec:
|
||||
resources:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if (.Values.kerberoshub.monitordevice.serviceMonitor | default dict).enabled }}
|
||||
ports:
|
||||
- name: hub-metrics
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
{{- if or .Values.kerberoshub.monitordevice.volumeMounts (and $mongodbTLS.enabled $mongodbTLS.existingSecret) }}
|
||||
volumeMounts:
|
||||
{{- with .Values.kerberoshub.monitordevice.volumeMounts}}
|
||||
@@ -123,6 +129,16 @@ spec:
|
||||
value: "{{ .Values.email.mailgun.domain }}"
|
||||
- name: MAILGUN_API_KEY
|
||||
value: "{{ .Values.email.mailgun.apikey }}"
|
||||
|
||||
# Pusher (in-app notifications)
|
||||
- name: PUSHER_APP_ID
|
||||
value: {{ .Values.pusher.appId | quote }}
|
||||
- name: PUSHER_KEY
|
||||
value: {{ .Values.pusher.key | quote }}
|
||||
- name: PUSHER_SECRET
|
||||
value: {{ .Values.pusher.secret | quote }}
|
||||
- name: PUSHER_CLUSTER
|
||||
value: {{ .Values.pusher.cluster | quote }}
|
||||
{{- if .Values.kerberoshub.extraEnv }}
|
||||
{{- toYaml .Values.kerberoshub.extraEnv | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
{{- /* Renders nothing; fails the release on an inconsistent organisations.mode. */ -}}
|
||||
{{- include "hub.organisations.validate" . -}}
|
||||
@@ -114,12 +114,71 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"organisations": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"mode": {
|
||||
"type": "string",
|
||||
"enum": ["legacy", "custom"],
|
||||
"description": "legacy (default): owner account > sub accounts > roles; the chart fails while any organisation feature is on. custom: every organisation feature follows its own setting."
|
||||
},
|
||||
"onboarding": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"description": "ONBOARDING_ENABLED on hub-api: /register creates only the account; its organisation comes at first sign-in. Requires a hub-frontend with the onboarding page."
|
||||
},
|
||||
"organisationCreation": {
|
||||
"type": "boolean",
|
||||
"description": "ONBOARDING_ORGANISATION_CREATE on hub-api; false makes onboarding invite-only."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"kerberoshub": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"monitordevice": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"serviceMonitor": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"interval": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9]+(ms|s|m|h)$"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"api": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"blockPublicMetrics": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"serviceMonitor": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"interval": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9]+(ms|s|m|h)$"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mcp": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
|
||||
+75
-6
@@ -31,6 +31,33 @@ subscriptions:
|
||||
plans:
|
||||
enabled: false
|
||||
newOrganisations: false
|
||||
###################################################################
|
||||
# Organisations
|
||||
###################################################################
|
||||
# mode: legacy | custom
|
||||
# - legacy (default): owner account > sub accounts > roles, with the
|
||||
# subscription and agent keys on the owner. The chart refuses to render
|
||||
# while any organisation feature is switched on: subscriptions.plans,
|
||||
# organisations.onboarding, kerberoshub.api.rbacOrganisations and
|
||||
# organisationDeletion, and the switcher/creation/settings flags of
|
||||
# kerberoshub.frontend.features.organisations and .projects, and the
|
||||
# same features set directly in kerberoshub.extraEnv (PLANS_FILE,
|
||||
# PLANS_NEW_ORGANISATIONS, ONBOARDING_ENABLED, RBAC_ORGANISATIONS_ENABLED,
|
||||
# FEATURE_ORGANISATION*/FEATURE_PROJECT*/FEATURE_MEMBERS_ACCESS_PREVIEW_ENABLED).
|
||||
# - custom: every organisation feature follows its own setting.
|
||||
# Keep custom once an organisation has been switched to plans or rbac mode:
|
||||
# those organisations need the plan file and their features to keep working.
|
||||
organisations:
|
||||
mode: legacy
|
||||
# Onboarding: /register creates only the account; its organisation comes at
|
||||
# first sign-in (accept an invitation, pick an organisation it belongs to, or
|
||||
# create one, which starts in rbac mode). Requires a hub-frontend with the
|
||||
# onboarding page. Off keeps the legacy sign-up: /register creates the
|
||||
# account with its own organisation at once. A variable already set in
|
||||
# kerberoshub.extraEnv takes precedence and is not set twice.
|
||||
onboarding:
|
||||
enabled: false # Sets ONBOARDING_ENABLED on hub-api.
|
||||
organisationCreation: true # false: accounts without an organisation can only join through an invitation (ONBOARDING_ORGANISATION_CREATE).
|
||||
###########################################################################
|
||||
# Image signature verification (Kyverno)
|
||||
###########################################################################
|
||||
@@ -221,6 +248,18 @@ turn:
|
||||
username: "username1"
|
||||
password: "password1"
|
||||
############################################
|
||||
# Pusher (in-app notifications)
|
||||
#
|
||||
# Usecases:
|
||||
# - Browser notifications: hub-api (a new camera was added) and the device
|
||||
# monitor (a camera changed status) trigger an event on the user's channel.
|
||||
############################################
|
||||
pusher:
|
||||
appId: ""
|
||||
key: ""
|
||||
secret: ""
|
||||
cluster: "eu"
|
||||
############################################
|
||||
# OpenTelemetry is used for distributed tracing and monitoring.
|
||||
# More information can be found at https://opentelemetry.io/docs/
|
||||
############################################
|
||||
@@ -414,6 +453,15 @@ kerberoshub:
|
||||
# Set to false to skip rendering the hub-api Service (e.g. when an
|
||||
# external/shared Service is managed elsewhere).
|
||||
serviceEnabled: true
|
||||
# Prometheus ServiceMonitor for /metrics on the backend port (request
|
||||
# metrics and mongodb_client_* command metrics). Needs serviceEnabled.
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
interval: 15s
|
||||
# With ingress: nginx, answer 403 for /metrics on the API hosts, so the
|
||||
# Prometheus metrics (including database and collection names) are not
|
||||
# public. Prometheus scrapes the Service directly and is not affected.
|
||||
blockPublicMetrics: true
|
||||
logLevel: "info" # possible values: trace, debug, info, warn, error
|
||||
jwtSecret: "this-is-a-secret-please-change-to-random-string" # change to a random value, this is for generating JWT tokens.
|
||||
# How long a user stays signed in (Go durations, e.g. "15m", "12h").
|
||||
@@ -459,17 +507,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 +881,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 +992,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.
|
||||
@@ -1287,6 +1349,13 @@ kerberoshub:
|
||||
# v1.4.10+ holds a change 20 seconds (DEVICE_GROUPING_HOLD_SECONDS) to collect
|
||||
# other cameras that change at the same time; older releases hold one scan.
|
||||
scanIntervalSeconds: 60
|
||||
# Service and Prometheus ServiceMonitor for /metrics on port 8080 (scan
|
||||
# counters and mongodb_client_* command metrics). Enable only with a
|
||||
# hub-monitor-device release that serves /metrics; older images leave the
|
||||
# target down.
|
||||
serviceMonitor:
|
||||
enabled: false
|
||||
interval: 15s
|
||||
resources:
|
||||
requests:
|
||||
memory: 10Mi
|
||||
|
||||
Reference in New Issue
Block a user