feat: add support for hostAliases

This commit is contained in:
rbnis 2025-02-21 12:28:05 +01:00
parent a609ae613b
commit e8dbf957b1
9 changed files with 19 additions and 3 deletions

View File

@ -4,7 +4,7 @@ dependencies:
version: 1.6.0
- name: pipelines
repository: https://helm.openwebui.com
version: 0.2.0
version: 0.4.0
- name: tika
repository: https://apache.jfrog.io/artifactory/tika
version: 2.9.0

View File

@ -1,6 +1,6 @@
apiVersion: v2
name: open-webui
version: 5.18.0
version: 5.19.0
appVersion: 0.5.16
home: https://www.openwebui.com/
icon: >-

View File

@ -105,6 +105,7 @@ helm upgrade --install open-webui open-webui/open-webui
| tika.enabled | bool | `false` | Automatically install Apache Tika to extend Open WebUI |
| tolerations | list | `[]` | Tolerations for pod assignment |
| topologySpreadConstraints | list | `[]` | Topology Spread Constraints for pod assignment |
| hostAliases | list | `[]` | HostAliases to be added to hosts-file of each container |
| volumeMounts | object | `{"container":[],"initContainer":[]}` | Configure container volume mounts ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> |
| volumes | list | `[]` | Configure pod volumes ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> |
| websocket.enabled | bool | `false` | Enables websocket support in Open WebUI with env `ENABLE_WEBSOCKET_SUPPORT` |

View File

@ -172,6 +172,10 @@ spec:
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
- name: data

View File

@ -219,6 +219,9 @@ affinity: {}
# -- Topology Spread Constraints for pod assignment
topologySpreadConstraints: []
# -- HostAliases to be added to hosts-file of each container
hostAliases: []
# -- Service values to expose Open WebUI pods to cluster
service:
type: ClusterIP

View File

@ -1,6 +1,6 @@
apiVersion: v2
name: pipelines
version: 0.3.0
version: 0.4.0
appVersion: "alpha"
home: https://github.com/open-webui/pipelines

View File

@ -71,6 +71,7 @@ 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: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> |
| volumes | list | `[]` | Configure pod volumes ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> |

View File

@ -74,6 +74,10 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
- name: data

View File

@ -55,6 +55,9 @@ tolerations: []
# -- Affinity for pod assignment
affinity: {}
# -- HostAliases to be added to hosts-file of each container
hostAliases: []
service:
type: ClusterIP
annotations: {}