feat: adding imagepullsecrets to open-webui and pipelines

This commit is contained in:
Marlapati Venkata Naga Sai Teja[marlapativ] 2024-08-17 00:03:43 -04:00
parent 3003028420
commit 5c438db555
4 changed files with 23 additions and 1 deletions

View File

@ -29,6 +29,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
initContainers:
- name: copy-app-data
{{- with .Values.image }}

View File

@ -37,6 +37,13 @@ image:
repository: ghcr.io/open-webui/open-webui
tag: "latest"
pullPolicy: "IfNotPresent"
# -- Configure imagePullSecrets to use private registry
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry>
imagePullSecrets: []
# imagePullSecrets:
# - name: myRegistryKeySecretName
resources: {}
ingress:
enabled: false

View File

@ -22,6 +22,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
enableServiceLinks: false
automountServiceAccountToken: false
containers:
@ -68,4 +72,4 @@ spec:
- name: data
persistentVolumeClaim:
claimName: {{ include "pipelines.name" . }}
{{- end }}
{{- end }}

View File

@ -10,6 +10,13 @@ image:
repository: ghcr.io/open-webui/pipelines
tag: main
pullPolicy: Always
# -- Configure imagePullSecrets to use private registry
# ref: <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry>
imagePullSecrets: []
# imagePullSecrets:
# - name: myRegistryKeySecretName
resources: {}
ingress:
enabled: true