Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: recyclarr cronjob #67

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/recyclarr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kubeVersion: ">=1.23.0-0"
name: recyclarr
description: recyclarr helm chart for Kubernetes
type: application
version: 0.1.2
version: 0.1.4
# image: ghcr.io/recyclarr/recyclarr
appVersion: "6.0.2"
maintainers:
Expand Down
9 changes: 5 additions & 4 deletions charts/recyclarr/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# recyclarr

![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-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.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)

recyclarr helm chart for Kubernetes

Expand Down Expand Up @@ -35,14 +35,17 @@ helm repo add adminafk https://helm-charts.adminafk.fr
| affinity | object | `{}` | |
| extraEnv | list | `[]` | Environment variables to add to the bazarr pods |
| extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the bazarr pods |
| failedJobsHistoryLimit | int | `1` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.registry | string | `"ghcr.io"` | |
| image.repository | string | `"recyclarr/recyclarr"` | |
| image.sha | string | `""` | |
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | |
| job.failedJobsHistoryLimit | int | `1` | |
| job.restartPolicy | string | `"never"` | |
| job.schedule | string | `"@daily"` | |
| job.successfulJobsHistoryLimit | int | `1` | |
| jobAnnotations | object | `{}` | |
| jobLabels | object | `{}` | |
| nameOverride | string | `""` | |
Expand All @@ -51,7 +54,6 @@ helm repo add adminafk https://helm-charts.adminafk.fr
| podSecurityContext.fsGroupChangePolicy | string | `"OnRootMismatch"` | |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| scfhedule | string | `"@daily"` | |
| securityContext.allowPrivilegeEscalation | bool | `false` | |
| securityContext.capabilities.drop[0] | string | `"ALL"` | |
| securityContext.privileged | bool | `false` | |
Expand All @@ -64,7 +66,6 @@ helm repo add adminafk https://helm-charts.adminafk.fr
| serviceAccount.automount | bool | `true` | Automatically mount a ServiceAccount's API credentials? |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| serviceAccount.name | string | `""` | If not set and create is true, a name is generated using the fullname template |
| successfulJobsHistoryLimit | int | `1` | |
| tolerations | list | `[]` | |
| volumeMounts | list | `[]` | Additional volumeMounts on the output Deployment definition. |
| volumes | list | `[]` | Additional volumes on the output Deployment definition. |
9 changes: 5 additions & 4 deletions charts/recyclarr/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
{{- include "recyclarr.labels" . | nindent 4 }}
spec:
concurrencyPolicy: "Replace"
successfulJobsHistoryLimit: {{ .Values.successfulJobsHistoryLimit }}
failedJobsHistoryLimit: {{ .Values.failedJobsHistoryLimit }}
schedule: {{ .Values.schedule }}
successfulJobsHistoryLimit: {{ .Values.job.successfulJobsHistoryLimit }}
failedJobsHistoryLimit: {{ .Values.job.failedJobsHistoryLimit }}
schedule: {{ .Values.job.schedule }}
jobTemplate:
spec:
template:
Expand All @@ -23,6 +23,7 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
spec:
restartPolicy: {{- with .Values.job.restartPolicy }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 12 }}
Expand All @@ -31,7 +32,7 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 12 }}
containers:
- name: "ffff"
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 16 }}
{{- if .Values.image.sha }}
Expand Down
8 changes: 5 additions & 3 deletions charts/recyclarr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

scfhedule: "@daily"
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
job:
schedule: "@daily"
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
restartPolicy: "never"

# -- Environment variables to add to the bazarr pods
extraEnv: []
Expand Down
Loading