From 36cd17f89a871aa2f081bb6c94f5d364a4523326 Mon Sep 17 00:00:00 2001 From: Ludovic Ortega Date: Wed, 26 Jun 2024 20:56:14 +0000 Subject: [PATCH] fix: recyclarr cronjob template error Signed-off-by: Ludovic Ortega --- charts/recyclarr/Chart.yaml | 2 +- charts/recyclarr/README.md | 4 ++-- charts/recyclarr/templates/cronjob.yaml | 2 +- charts/recyclarr/values.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/recyclarr/Chart.yaml b/charts/recyclarr/Chart.yaml index 28b7e47..108ceba 100644 --- a/charts/recyclarr/Chart.yaml +++ b/charts/recyclarr/Chart.yaml @@ -3,7 +3,7 @@ kubeVersion: ">=1.23.0-0" name: recyclarr description: recyclarr helm chart for Kubernetes type: application -version: 0.1.4 +version: 0.1.5 # image: ghcr.io/recyclarr/recyclarr appVersion: "6.0.2" maintainers: diff --git a/charts/recyclarr/README.md b/charts/recyclarr/README.md index 2c62944..09470fc 100644 --- a/charts/recyclarr/README.md +++ b/charts/recyclarr/README.md @@ -1,6 +1,6 @@ # recyclarr -![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.2](https://img.shields.io/badge/AppVersion-6.0.2-informational?style=flat-square) +![Version: 0.1.5](https://img.shields.io/badge/Version-0.1.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.2](https://img.shields.io/badge/AppVersion-6.0.2-informational?style=flat-square) recyclarr helm chart for Kubernetes @@ -44,7 +44,7 @@ helm repo add adminafk https://helm-charts.adminafk.fr | imagePullSecrets | list | `[]` | | | job.failedJobsHistoryLimit | int | `1` | | | job.restartPolicy | string | `"never"` | | -| job.schedule | string | `"@daily"` | | +| job.schedule | string | `"0 0 * * *"` | | | job.successfulJobsHistoryLimit | int | `1` | | | jobAnnotations | object | `{}` | | | jobLabels | object | `{}` | | diff --git a/charts/recyclarr/templates/cronjob.yaml b/charts/recyclarr/templates/cronjob.yaml index 05daf73..2cae85d 100644 --- a/charts/recyclarr/templates/cronjob.yaml +++ b/charts/recyclarr/templates/cronjob.yaml @@ -23,7 +23,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} spec: - restartPolicy: {{- with .Values.job.restartPolicy }} + restartPolicy: {{ .Values.job.restartPolicy }} {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 12 }} diff --git a/charts/recyclarr/values.yaml b/charts/recyclarr/values.yaml index d96c6ff..fc2b6ef 100644 --- a/charts/recyclarr/values.yaml +++ b/charts/recyclarr/values.yaml @@ -13,7 +13,7 @@ nameOverride: "" fullnameOverride: "" job: - schedule: "@daily" + schedule: "0 0 * * *" successfulJobsHistoryLimit: 1 failedJobsHistoryLimit: 1 restartPolicy: "never"