diff --git a/charts/develop/nextcloud/Chart.yaml b/charts/develop/nextcloud/Chart.yaml index ce03dd2f7f4..3998672a247 100644 --- a/charts/develop/nextcloud/Chart.yaml +++ b/charts/develop/nextcloud/Chart.yaml @@ -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 diff --git a/charts/develop/nextcloud/templates/_cronjob.tpl b/charts/develop/nextcloud/templates/_cronjob.tpl index e59e99f7743..c7c95afb852 100644 --- a/charts/develop/nextcloud/templates/_cronjob.tpl +++ b/charts/develop/nextcloud/templates/_cronjob.tpl @@ -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 -}}