diff --git a/charts/hub/Chart.yaml b/charts/hub/Chart.yaml index 18910cd..a4bd25d 100644 --- a/charts/hub/Chart.yaml +++ b/charts/hub/Chart.yaml @@ -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.206.0 +version: 0.207.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 diff --git a/charts/hub/templates/kerberos-pipeline/pipe-export.yaml b/charts/hub/templates/kerberos-pipeline/pipe-export.yaml index 9ec1dd2..7408581 100644 --- a/charts/hub/templates/kerberos-pipeline/pipe-export.yaml +++ b/charts/hub/templates/kerberos-pipeline/pipe-export.yaml @@ -115,6 +115,20 @@ spec: - name: STORAGE_ARCHIVE_SECRET_KEY value: "{{ .Values.kerberosvault.archive.secretkey }}" + # Forward requests: an export asks an edge Vault to forward the + # recordings of the case that are still metadata-only, over MQTT, + # with the broker credentials Hub uses (mqtt.username / password). + # Nothing is requested while mqttUri is empty. + {{- $forward := .Values.kerberospipeline.export.forwardRequests | default dict }} + {{- if $forward.mqttUri }} + - name: MQTT_URI + value: {{ $forward.mqttUri | quote }} + - name: MQTT_USERNAME + value: {{ .Values.mqtt.username | quote }} + - name: MQTT_PASSWORD + value: {{ .Values.mqtt.password | quote }} + {{- end }} + # Sprites - name: SPRITE_ENABLED value: "{{ .Values.kerberospipeline.sprite.enabled }}" diff --git a/charts/hub/values.yaml b/charts/hub/values.yaml index ff65fb8..4181b7a 100644 --- a/charts/hub/values.yaml +++ b/charts/hub/values.yaml @@ -1695,6 +1695,13 @@ kerberospipeline: topologySpreadConstraints: [] # Optional pod topology spread constraints (empty = none). extraEnv: [] # Extra container env (name + value or valueFrom), rendered after the chart's own; do not repeat a variable the chart sets. logLevel: "info" # possible values: trace, debug, info, warn, error + forwardRequests: + # Broker the export worker uses to ask an edge Vault to forward the + # recordings of a case that are still metadata-only, e.g. + # tcp://mqtt.kerberos.io:1883 (MQTT_URI). Credentials are mqtt.username + # and mqtt.password. Empty: nothing is requested; recordings forwarded + # meanwhile are still picked up. + mqttUri: "" # playerAssetsPath: "/custom/player-assets/" # Path to custom player.html template (overrides the embedded default) # volumeMounts: # - name: custom-player-assets