try fix nextcloud cronjob error

This commit is contained in:
kjeld Schouten-Lebbing
2021-07-02 20:49:23 +02:00
parent b28bd8ed22
commit a2fb2f74c0
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -35,4 +35,4 @@ sources:
- https://github.com/nextcloud/docker
- https://github.com/nextcloud/helm
type: application
version: 1.0.0
version: 1.0.1
@@ -1,11 +1,12 @@
{{/* Define the cronjob */}}
{{- define "nextcloud.cronjob" -}}
{{- $jobName := include "common.names.fullname" . -}}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ printf "%s-auto-permissions" $jobName }}
name: {{ printf "%s-cronjob" $jobName }}
labels:
{{- include "common.labels" . | nindent 4 }}
spec:
@@ -42,6 +43,6 @@ spec:
{{- end }}
{{- end }}
resources:
{{ toYaml (default .Values.resources .Values.cronjob.resources) | indent 16 }}
{{ toYaml .Values.resources | indent 16 }}
{{- end -}}