diff --git a/templates/job-configure-nextcloud.yaml b/templates/job-configure-nextcloud.yaml index 902797bf0f7f34ebe678dbe41aebae4387dece8e..f40d132f9bf79b2a91a4d0b78c72ed5d9b14e8f0 100644 --- a/templates/job-configure-nextcloud.yaml +++ b/templates/job-configure-nextcloud.yaml @@ -23,7 +23,7 @@ spec: securityContext: {{- include "nextcloud-onlyoffice.securityContext" . | indent 8 }} containers: - name: {{ .Release.Name }}-configure-nextcloud-job - image: {{ .Values.nextcloud.image.repository }}:{{ .Values.nextcloud.image.tag }} + image: {{ template "nextcloud.image" .Subcharts.nextcloud }} command: - "/usr/local/bin/php" - "/var/www/html/occ" diff --git a/templates/job-setup-apps.yaml b/templates/job-setup-apps.yaml index 929756b43b13cabbbe17b6a8f5a70114e35d793b..30f6f97dc0289105f0ffc63539632556a5b3e3d2 100644 --- a/templates/job-setup-apps.yaml +++ b/templates/job-setup-apps.yaml @@ -24,7 +24,7 @@ spec: securityContext: {{- include "nextcloud-onlyoffice.securityContext" . | indent 8 }} containers: - name: {{ .Release.Name }}-setup-apps-job - image: {{ .Values.nextcloud.image.repository }}:{{ .Values.nextcloud.image.tag }} + image: {{ template "nextcloud.image" .Subcharts.nextcloud }} command: - "/bin/bash" - "/var/local/setup-apps.sh"