diff --git a/charts/pipelines/Chart.yaml b/charts/pipelines/Chart.yaml index 016b1c9..7a90f37 100644 --- a/charts/pipelines/Chart.yaml +++ b/charts/pipelines/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: pipelines -version: 0.4.0 +version: 0.5.0 appVersion: "alpha" home: https://github.com/open-webui/pipelines diff --git a/charts/pipelines/README.md b/charts/pipelines/README.md index 2442639..0e50dda 100644 --- a/charts/pipelines/README.md +++ b/charts/pipelines/README.md @@ -1,6 +1,6 @@ # pipelines -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![AppVersion: alpha](https://img.shields.io/badge/AppVersion-alpha-informational?style=flat-square) +![Version: 0.5.0](https://img.shields.io/badge/Version-0.5.0-informational?style=flat-square) ![AppVersion: alpha](https://img.shields.io/badge/AppVersion-alpha-informational?style=flat-square) Pipelines: UI-Agnostic OpenAI API Plugin Framework @@ -35,7 +35,9 @@ helm upgrade --install open-webui open-webui/pipelines | clusterDomain | string | `"cluster.local"` | Value of cluster domain | | 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 | +| extraInitContainers | list | `[]` | Additional init containers to add to the deployment ref: | | extraResources | list | `[]` | Extra resources to deploy with Open WebUI Pipelines | +| hostAliases | list | `[]` | HostAliases to be added to hosts-file of each container | | image.pullPolicy | string | `"Always"` | | | image.repository | string | `"ghcr.io/open-webui/pipelines"` | | | image.tag | string | `"main"` | | @@ -71,7 +73,6 @@ helm upgrade --install open-webui open-webui/pipelines | serviceAccount.enable | bool | `true` | | | strategy | object | `{}` | Strategy for updating the deployment | | tolerations | list | `[]` | Tolerations for pod assignment | -| hostAliases | list | `[]` | HostAliases to be added to hosts-file of each container | | volumeMounts | list | `[]` | Configure container volume mounts ref: | | volumes | list | `[]` | Configure pod volumes ref: | diff --git a/charts/pipelines/templates/deployment.yaml b/charts/pipelines/templates/deployment.yaml index 3855929..4bb2d78 100644 --- a/charts/pipelines/templates/deployment.yaml +++ b/charts/pipelines/templates/deployment.yaml @@ -34,6 +34,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.extraInitContainers }} + initContainers: + {{- toYaml . | nindent 8 }} + {{- end }} enableServiceLinks: false automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken | default false }} {{- if .Values.serviceAccount.enable }} diff --git a/charts/pipelines/values.yaml b/charts/pipelines/values.yaml index 2bd6dde..5ee4459 100644 --- a/charts/pipelines/values.yaml +++ b/charts/pipelines/values.yaml @@ -99,6 +99,16 @@ volumeMounts: [] # - name: "" # mountPath: "" +# -- Additional init containers to add to the deployment +# ref: +extraInitContainers: [] +# - name: custom-init +# image: busybox:latest +# command: ['sh', '-c', 'echo "Custom init container running"'] +# volumeMounts: +# - name: data +# mountPath: /data + # -- Configure pod volumes # ref: volumes: []