Skip to content

Commit

Permalink
chore(ai-worker): made initContainer image configurable with values
Browse files Browse the repository at this point in the history
  • Loading branch information
dhendricken committed Jan 24, 2025
1 parent 207ab61 commit 0e34866
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/nextcloud/templates/nextcloud-ai-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
{{- toYaml .Values.aiWorker.podSecurityContext | nindent 8 }}
initContainers:
- name: wait-for-service
image: alpine/curl
image: {{ .Values.aiWorker.image.repository }}:{{ .Values.aiWorker.image.tag }}
command:
- sh
- -c
Expand Down
5 changes: 5 additions & 0 deletions charts/nextcloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,11 @@ dnsConfig: {}
aiWorker:
enabled: false

image:
repository: alpine/curl
tag: latest
pullPolicy: IfNotPresent

# Number of replicas to be deployed
replicaCount: 1

Expand Down

0 comments on commit 0e34866

Please sign in to comment.