From b2c82abbfb11c44f9cbd285ce64bbae2b4ade1cb Mon Sep 17 00:00:00 2001 From: Ludovic Ortega Date: Mon, 25 Mar 2024 23:58:32 +0000 Subject: [PATCH] fix: radarr helm-chart --- charts/radarr/Chart.yaml | 4 ++-- charts/radarr/README.md | 2 +- charts/radarr/templates/_helpers.tpl | 2 +- charts/radarr/templates/deployment.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/radarr/Chart.yaml b/charts/radarr/Chart.yaml index 01e4d7c..f420808 100644 --- a/charts/radarr/Chart.yaml +++ b/charts/radarr/Chart.yaml @@ -2,9 +2,9 @@ apiVersion: v2 name: radarr description: radarr helm chart for Kubernetes type: application -version: 0.1.0 +version: 0.1.1 # image: linuxserver/radarr -appVersion: "5.3.6.8612" +appVersion: "5.3.6.8612-ls210" sources: - https://github.com/M0NsTeRRR/helm-charts/tree/main/charts/radarr home: https://github.com/Radarr/Radarr diff --git a/charts/radarr/README.md b/charts/radarr/README.md index 6e7e8b0..339ab99 100644 --- a/charts/radarr/README.md +++ b/charts/radarr/README.md @@ -1,6 +1,6 @@ # radarr -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.3.6.8612](https://img.shields.io/badge/AppVersion-5.3.6.8612-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.3.6.8612-ls210](https://img.shields.io/badge/AppVersion-5.3.6.8612--ls210-informational?style=flat-square) radarr helm chart for Kubernetes diff --git a/charts/radarr/templates/_helpers.tpl b/charts/radarr/templates/_helpers.tpl index a3372a9..770d617 100644 --- a/charts/radarr/templates/_helpers.tpl +++ b/charts/radarr/templates/_helpers.tpl @@ -65,5 +65,5 @@ Create the name of the service account to use Create the name of the pvc config to use */}} {{- define "radarr.configPersistenceName" -}} -{{- printf "%s-config" (include "radarr.fullname" .) -}} +{{- default (printf "%s-config" (include "radarr.fullname" .)) .Values.config.persistence.name }} {{- end }} \ No newline at end of file diff --git a/charts/radarr/templates/deployment.yaml b/charts/radarr/templates/deployment.yaml index 4826a6b..f19e90f 100644 --- a/charts/radarr/templates/deployment.yaml +++ b/charts/radarr/templates/deployment.yaml @@ -72,7 +72,7 @@ spec: volumes: - name: config persistentVolumeClaim: - claimName: {{ include "radarr.configPersistenceName" . }} + claimName: {{ include "radarr.configPersistenceName" $ }} {{- toYaml . | nindent 8 }} {{- end }} {{- with .Values.nodeSelector }}