test cronfix for nextcloud (#648)

* test cronfix

* oops

* bump
This commit is contained in:
Kjeld Schouten-Lebbing
2021-07-03 09:51:21 +02:00
committed by GitHub
parent 5399056029
commit 4296725cbb
2 changed files with 13 additions and 6 deletions

View File

@@ -35,4 +35,5 @@ sources:
- https://github.com/nextcloud/docker
- https://github.com/nextcloud/helm
type: application
version: 1.0.7
version: 1.0.8

View File

@@ -25,17 +25,23 @@ spec:
metadata:
spec:
restartPolicy: Never
{{- with (include "common.controller.volumes" . | trim) }}
volumes:
{{- nindent 12 . }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ default .Values.image.tag }}"
imagePullPolicy: {{ default .Values.image.pullPolicy }}
command: [ "curl" ]
command: [ "php" ]
args:
- "-k"
- "--fail"
- "-L"
- "http://{{ template "common.names.fullname" . }}:{{ .Values.service.main.ports.main.port }}/cron.php"
- "-f"
- "/var/www/html/cron.php"
# Will mount configuration files as www-data (id: 33) by default for nextcloud
{{- with (include "common.controller.volumeMounts" . | trim) }}
volumeMounts:
{{ nindent 16 . }}
{{- end }}
securityContext:
{{- if .Values.securityContext }}
{{- with .Values.securityContext }}