diff --git a/charts/pipelines/README.md b/charts/pipelines/README.md index 7e22b24..4d7d2ef 100644 --- a/charts/pipelines/README.md +++ b/charts/pipelines/README.md @@ -33,8 +33,8 @@ helm upgrade --install open-webui open-webui/pipelines | affinity | object | `{}` | Affinity for pod assignment | | annotations | object | `{}` | | | clusterDomain | string | `"cluster.local"` | Value of cluster domain | -| extraEnvVars | list | `[{"name":"PIPELINES_URLS","value":"https://github.com/open-webui/pipelines/blob/main/examples/langfuse_filter_pipeline.py"},{"name":"LANGFUSE_PUBLIC_KEY","valueFrom":{"secretKeyRef":{"key":"public-key","name":"langfuse-keys"}}},{"name":"LANGFUSE_SECRET_KEY","valueFrom":{"secretKeyRef":{"key":"secret-key","name":"langfuse-keys"}}},{"name":"LANGFUSE_HOST","value":"https://us.cloud.langfuse.com"}]` | Additional environments variables on the output Deployment definition. These are used to pull initial Pipeline files, and help configure Pipelines with required values (e.g. Langfuse API keys) | -| extraEnvVars[0] | object | `{"name":"PIPELINES_URLS","value":"https://github.com/open-webui/pipelines/blob/main/examples/langfuse_filter_pipeline.py"}` | Example pipeline to pull and load on deployment startup, see current pipelines here: https://github.com/open-webui/pipelines/blob/main/examples | +| extraEnvVars | list | `[{"name":"PIPELINES_URLS","value":"https://github.com/open-webui/pipelines/blob/main/examples/filters/detoxify_filter_pipeline.py"}]` | Additional environments variables on the output Deployment definition. These are used to pull initial Pipeline files, and help configure Pipelines with required values (e.g. Langfuse API keys) | +| extraEnvVars[0] | object | `{"name":"PIPELINES_URLS","value":"https://github.com/open-webui/pipelines/blob/main/examples/filters/detoxify_filter_pipeline.py"}` | Example pipeline to pull and load on deployment startup, see current pipelines here: https://github.com/open-webui/pipelines/blob/main/examples | | image.pullPolicy | string | `"Always"` | | | image.repository | string | `"ghcr.io/open-webui/pipelines"` | | | image.tag | string | `"main"` | | diff --git a/charts/pipelines/templates/deployment.yaml b/charts/pipelines/templates/deployment.yaml index 9e53f84..24f3c70 100644 --- a/charts/pipelines/templates/deployment.yaml +++ b/charts/pipelines/templates/deployment.yaml @@ -1,40 +1,3 @@ -# Old manual manifest, used for reference -# apiVersion: apps/v1 -# kind: Deployment -# metadata: -# name: open-webui-pipelines -# spec: -# replicas: 1 -# selector: -# matchLabels: -# app: open-webui-pipelines -# template: -# metadata: -# labels: -# app: open-webui-pipelines -# spec: -# containers: -# - name: open-webui-pipelines -# image: ghcr.io/open-webui/pipelines:main -# imagePullPolicy: Always -# env: -# - name: PIPELINES_URLS -# value: https://github.com/open-webui/pipelines/blob/main/examples/langfuse_filter_pipeline.py -# - name: LANGFUSE_HOST -# value: https://us.cloud.langfuse.com -# - name: LANGFUSE_PUBLIC_KEY -# valueFrom: -# secretKeyRef: -# name: langfuse-keys -# key: public-key -# - name: LANGFUSE_SECRET_KEY -# valueFrom: -# secretKeyRef: -# name: langfuse-keys -# key: secret-key -# ports: -# - containerPort: 9099 - apiVersion: apps/v1 kind: Deployment metadata: diff --git a/charts/pipelines/values.yaml b/charts/pipelines/values.yaml index 345c1f8..1ac9f6c 100644 --- a/charts/pipelines/values.yaml +++ b/charts/pipelines/values.yaml @@ -53,16 +53,19 @@ service: extraEnvVars: # -- Example pipeline to pull and load on deployment startup, see current pipelines here: https://github.com/open-webui/pipelines/blob/main/examples - name: PIPELINES_URLS - value: "https://github.com/open-webui/pipelines/blob/main/examples/langfuse_filter_pipeline.py" - - name: LANGFUSE_PUBLIC_KEY - valueFrom: - secretKeyRef: - name: langfuse-keys - key: public-key - - name: LANGFUSE_SECRET_KEY - valueFrom: - secretKeyRef: - name: langfuse-keys - key: secret-key - - name: LANGFUSE_HOST - value: https://us.cloud.langfuse.com + value: "https://github.com/open-webui/pipelines/blob/main/examples/filters/detoxify_filter_pipeline.py" + # -- Langfuse example, including values used in Langfuse filter to connect + # - name: PIPELINES_URLS + # value: "https://github.com/open-webui/pipelines/blob/main/examples/filters/langfuse_filter_pipeline.py" + # - name: LANGFUSE_PUBLIC_KEY + # valueFrom: + # secretKeyRef: + # name: langfuse-keys + # key: public-key + # - name: LANGFUSE_SECRET_KEY + # valueFrom: + # secretKeyRef: + # name: langfuse-keys + # key: secret-key + # - name: LANGFUSE_HOST + # value: https://us.cloud.langfuse.com