From 3556d83755f43b74c4c8a4095f8ac6f0e7c571e0 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Tue, 23 Dec 2025 22:03:52 -0600 Subject: [PATCH] add search --- clusters/cl01tl/helm/jellyfin/Chart.lock | 7 ++++-- clusters/cl01tl/helm/jellyfin/Chart.yaml | 4 ++++ .../jellyfin/templates/external-secret.yaml | 23 +++++++++++++++++++ clusters/cl01tl/helm/jellyfin/values.yaml | 20 ++++++++++++++++ 4 files changed, 52 insertions(+), 2 deletions(-) diff --git a/clusters/cl01tl/helm/jellyfin/Chart.lock b/clusters/cl01tl/helm/jellyfin/Chart.lock index 38f5474b7..2a22f0cc8 100644 --- a/clusters/cl01tl/helm/jellyfin/Chart.lock +++ b/clusters/cl01tl/helm/jellyfin/Chart.lock @@ -2,8 +2,11 @@ dependencies: - name: app-template repository: https://bjw-s-labs.github.io/helm-charts/ version: 4.5.0 +- name: meilisearch + repository: https://meilisearch.github.io/meilisearch-kubernetes + version: 0.19.0 - name: volsync-target repository: oci://harbor.alexlebens.net/helm-charts version: 0.6.0 -digest: sha256:ca1dd0e86544b79c9e3048447a2f7613317df0ab11118bbeabceb32e845119d2 -generated: "2025-12-18T02:45:45.65978763Z" +digest: sha256:47ce0fd90e4f659ccb73539935eb8fcd2a9cfd0a85f792851903fa2677ca2dbb +generated: "2025-12-23T22:03:27.681556-06:00" diff --git a/clusters/cl01tl/helm/jellyfin/Chart.yaml b/clusters/cl01tl/helm/jellyfin/Chart.yaml index e4b13aaf0..891f2bde5 100644 --- a/clusters/cl01tl/helm/jellyfin/Chart.yaml +++ b/clusters/cl01tl/helm/jellyfin/Chart.yaml @@ -13,6 +13,7 @@ home: https://wiki.alexlebens.dev/s/a58be5b0-7935-458a-b990-b45223e39d68 sources: - https://github.com/jellyfin/jellyfin - https://github.com/rebelcore/jellyfin_exporter + - https://github.com/meilisearch/meilisearch - https://hub.docker.com/r/jellyfin/jellyfin - https://hub.docker.com/r/rebelcore/jellyfin-exporter - https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template @@ -23,6 +24,9 @@ dependencies: alias: jellyfin repository: https://bjw-s-labs.github.io/helm-charts/ version: 4.5.0 + - name: meilisearch + version: 0.19.0 + repository: https://meilisearch.github.io/meilisearch-kubernetes - name: volsync-target alias: volsync-target-config version: 0.6.0 diff --git a/clusters/cl01tl/helm/jellyfin/templates/external-secret.yaml b/clusters/cl01tl/helm/jellyfin/templates/external-secret.yaml index 2b2c9da80..e63c2f54d 100644 --- a/clusters/cl01tl/helm/jellyfin/templates/external-secret.yaml +++ b/clusters/cl01tl/helm/jellyfin/templates/external-secret.yaml @@ -19,3 +19,26 @@ spec: key: /cl01tl/jellyfin/exporter metadataPolicy: None property: token + +--- +apiVersion: external-secrets.io/v1 +kind: ExternalSecret +metadata: + name: jellyfin-meilisearch-master-key-secret + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: jellyfin-meilisearch-master-key-secret + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/part-of: {{ .Release.Name }} +spec: + secretStoreRef: + kind: ClusterSecretStore + name: vault + data: + - secretKey: MEILI_MASTER_KEY + remoteRef: + conversionStrategy: Default + decodingStrategy: None + key: /cl01tl/jellyfin/meilisearch + metadataPolicy: None + property: MEILI_MASTER_KEY diff --git a/clusters/cl01tl/helm/jellyfin/values.yaml b/clusters/cl01tl/helm/jellyfin/values.yaml index a048eea14..46ff3a335 100644 --- a/clusters/cl01tl/helm/jellyfin/values.yaml +++ b/clusters/cl01tl/helm/jellyfin/values.yaml @@ -119,6 +119,26 @@ jellyfin: main: - path: /mnt/youtube readOnly: true +meilisearch: + environment: + MEILI_NO_ANALYTICS: true + MEILI_ENV: production + MEILI_EXPERIMENTAL_DUMPLESS_UPGRADE: true + auth: + existingMasterKeySecret: jellyfin-meilisearch-master-key-secret + service: + type: ClusterIP + port: 7700 + persistence: + enabled: true + storageClass: ceph-block + size: 5Gi + resources: + requests: + cpu: 10m + memory: 128Mi + serviceMonitor: + enabled: true volsync-target-config: pvcTarget: jellyfin-config local: