diff --git a/charts/nextcloud/templates/nextcloud-ai-worker.yaml b/charts/nextcloud/templates/nextcloud-ai-worker.yaml index 706bcc35..40692eff 100644 --- a/charts/nextcloud/templates/nextcloud-ai-worker.yaml +++ b/charts/nextcloud/templates/nextcloud-ai-worker.yaml @@ -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 diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index 10b8b8cb..c0c9bba4 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -689,6 +689,11 @@ dnsConfig: {} aiWorker: enabled: false + image: + repository: alpine/curl + tag: latest + pullPolicy: IfNotPresent + # Number of replicas to be deployed replicaCount: 1