From 73bec39ab7cc9e542d46161455d70b07e69522d2 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Fri, 10 Nov 2023 15:23:03 +0100 Subject: [PATCH] fixes --- charts/hub/Chart.yaml | 2 +- .../hub/templates/kerberos-hub/hub-api.yaml | 4 ++++ .../templates/kerberos-hub/hub-frontend.yaml | 4 ++++ charts/hub/values.yaml | 23 +++++++++++-------- 4 files changed, 23 insertions(+), 10 deletions(-) diff --git a/charts/hub/Chart.yaml b/charts/hub/Chart.yaml index bf85f7f..cafa674 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.47.0 +version: 0.48.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-hub/hub-api.yaml b/charts/hub/templates/kerberos-hub/hub-api.yaml index 895a1e7..499ffdd 100644 --- a/charts/hub/templates/kerberos-hub/hub-api.yaml +++ b/charts/hub/templates/kerberos-hub/hub-api.yaml @@ -191,6 +191,10 @@ spec: - name: STRIPE_KEY value: "{{ .Values.kerberoshub.api.stripe.privateKey }}" + # OpenAI + - name: OPENAI_API_KEY + value: "{{ .Values.openai.apikey }}" + # MFA Issuer name (Will be shown when scanning in) - name: MFA_ISSUER value: "{{ .Values.kerberoshub.api.mfaIssuer }}" diff --git a/charts/hub/templates/kerberos-hub/hub-frontend.yaml b/charts/hub/templates/kerberos-hub/hub-frontend.yaml index 1809036..88ba718 100644 --- a/charts/hub/templates/kerberos-hub/hub-frontend.yaml +++ b/charts/hub/templates/kerberos-hub/hub-frontend.yaml @@ -167,6 +167,10 @@ spec: - name: MQTT_LEGACY_PORT value: "{{ .Values.mqtt.legacy.port }}" + # OpenAI + - name: OPENAI_ENABLED + value: "{{ .Values.openai.enabled }}" + # Turn (Pion) - name: TURN_SERVER value: "{{ .Values.turn.host }}" diff --git a/charts/hub/values.yaml b/charts/hub/values.yaml index 9b1941a..e761071 100644 --- a/charts/hub/values.yaml +++ b/charts/hub/values.yaml @@ -74,6 +74,11 @@ turn: username: "username1" password: "password1" +# OpenAI integration, used for semantic search +openai: + enabled: false + apikey: "xxx" + # We have a kerberos vault component installed which contains all the # recordings. Kerberos vault is queried to retrieve the recordings # from the appropriate provider. @@ -134,7 +139,7 @@ kerberoshub: api: repository: kerberos/hub-api pullPolicy: IfNotPresent - tag: "1.0.1006757223" + tag: "1.0.1065879492" replicas: 2 jwtSecret: "this-is-a-secret-please-change-to-random-string" # change to a random value, this is for generating JWT tokens. schema: "https" @@ -205,7 +210,7 @@ kerberoshub: frontend: repository: kerberos/hub-frontend pullPolicy: IfNotPresent - tag: "1.0.1022558200" + tag: "1.0.1068219611" replicas: 2 schema: "https" url: "yourdomain.com" @@ -319,7 +324,7 @@ kerberoshub: cleanup: repository: kerberos/hub-cleanup pullPolicy: IfNotPresent - tag: "1.0.4098363473" + tag: "1.0.5360016926" resources: requests: memory: 10Mi @@ -461,11 +466,11 @@ kerberospipeline: thumbnail: repository: kerberos/pipe-thumbnail pullPolicy: IfNotPresent - tag: "1.0.4216458235" + tag: "1.0.5413452408" replicas: 3 quality: "70" - width: "250" - height: "250" + width: "600" + height: "600" kerberosvault: enabled: false # If you want to use Kerberos Vault to store the thumbnails resources: @@ -488,8 +493,8 @@ kerberospipeline: enabled: false # Enable or disable the sprite generation 'true' or 'false repository: kerberos/pipe-sprite pullPolicy: IfNotPresent - tag: "1.0.4307157569" - replicas: 3 + tag: "1.0.5413452673" + replicas: 5 interval: "1" # Number of secondes between each thumbnail in the sprite width: "240" # Should not be changed for the moment (hard coded in UI) height: "135" # Should not be changed for the moment (hard coded in UI) @@ -499,4 +504,4 @@ kerberospipeline: cpu: 500m limits: memory: 2Gi - cpu: 1000m + cpu: 1000m \ No newline at end of file