diff --git a/charts/bazarr/Chart.yaml b/charts/bazarr/Chart.yaml index 59d236b..44fde6a 100644 --- a/charts/bazarr/Chart.yaml +++ b/charts/bazarr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: bazarr description: bazarr helm chart for Kubernetes type: application -version: 0.1.5 +version: 0.1.6 # image: linuxserver/bazarr appVersion: "1.4.2" sources: diff --git a/charts/bazarr/README.md b/charts/bazarr/README.md index 3d71fc5..825d34f 100644 --- a/charts/bazarr/README.md +++ b/charts/bazarr/README.md @@ -1,6 +1,6 @@ # bazarr -![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: 1.4.2](https://img.shields.io/badge/AppVersion-1.4.2-informational?style=flat-square) +![Version: 0.1.6](https://img.shields.io/badge/Version-0.1.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.4.2](https://img.shields.io/badge/AppVersion-1.4.2-informational?style=flat-square) bazarr helm chart for Kubernetes @@ -27,7 +27,8 @@ helm repo add adminafk https://helm-charts.adminafk.fr | autoscaling.maxReplicas | int | `100` | | | autoscaling.minReplicas | int | `1` | | | autoscaling.targetCPUUtilizationPercentage | int | `80` | | -| config | object | `{"persistence":{"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config.persistence.accessModes | list | `["ReadWriteOnce"]` | Access modes of persistent disk | | config.persistence.annotations | object | `{}` | Annotations for PVCs | | config.persistence.name | string | `""` | Config name | | config.persistence.size | string | `"5Gi"` | Size of persistent disk | @@ -62,5 +63,6 @@ helm repo add adminafk https://helm-charts.adminafk.fr | 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 | | tolerations | list | `[]` | | +| updateStrategyType | string | `"OnDelete"` | Deployment update strategy | | volumeMounts | list | `[]` | Additional volumeMounts on the output Deployment definition. | | volumes | list | `[]` | Additional volumes on the output Deployment definition. | \ No newline at end of file diff --git a/charts/bazarr/templates/deployment.yaml b/charts/bazarr/templates/deployment.yaml index cb27108..7a4cc7e 100644 --- a/charts/bazarr/templates/deployment.yaml +++ b/charts/bazarr/templates/deployment.yaml @@ -8,6 +8,8 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + updateStrategy: + type: {{ .Values.updateStrategyType }} selector: matchLabels: {{- include "bazarr.selectorLabels" . | nindent 6 }} diff --git a/charts/bazarr/templates/persistentvolumeclaim.yaml b/charts/bazarr/templates/persistentvolumeclaim.yaml index 4b371ff..089bc02 100644 --- a/charts/bazarr/templates/persistentvolumeclaim.yaml +++ b/charts/bazarr/templates/persistentvolumeclaim.yaml @@ -5,8 +5,10 @@ metadata: labels: {{- include "bazarr.labels" . | nindent 4 }} spec: + {{- with .Values.config.persistence.accessModes }} accessModes: - - ReadWriteOnce + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.config.persistence.storageClass }} storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }} {{- end }} diff --git a/charts/bazarr/values.yaml b/charts/bazarr/values.yaml index 6561051..023dfdb 100644 --- a/charts/bazarr/values.yaml +++ b/charts/bazarr/values.yaml @@ -12,6 +12,9 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +# -- Deployment update strategy +updateStrategyType: "OnDelete" + # -- Environment variables to add to the bazarr pods extraEnv: [] # -- Environment variables from secrets or configmaps to add to the bazarr pods @@ -52,6 +55,9 @@ config: size: 5Gi # -- Annotations for PVCs annotations: {} + # -- Access modes of persistent disk + accessModes: + - ReadWriteOnce # -- Config name name: "" diff --git a/charts/jellyfin/Chart.yaml b/charts/jellyfin/Chart.yaml index 36fd1b7..5ce1f29 100644 --- a/charts/jellyfin/Chart.yaml +++ b/charts/jellyfin/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: jellyfin description: jellyfin helm chart for Kubernetes type: application -version: 0.1.3 +version: 0.1.4 # image: jellyfin/jellyfin appVersion: "10.8.13-1" sources: diff --git a/charts/jellyfin/README.md b/charts/jellyfin/README.md index 27e9948..c28f33d 100644 --- a/charts/jellyfin/README.md +++ b/charts/jellyfin/README.md @@ -1,6 +1,6 @@ # jellyfin -![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 10.8.13-1](https://img.shields.io/badge/AppVersion-10.8.13--1-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: 10.8.13-1](https://img.shields.io/badge/AppVersion-10.8.13--1-informational?style=flat-square) jellyfin helm chart for Kubernetes @@ -27,11 +27,13 @@ helm repo add adminafk https://helm-charts.adminafk.fr | autoscaling.maxReplicas | int | `100` | | | autoscaling.minReplicas | int | `1` | | | autoscaling.targetCPUUtilizationPercentage | int | `80` | | -| cache | object | `{"persistence":{"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store cache | +| cache | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store cache | +| cache.persistence.accessModes | list | `["ReadWriteOnce"]` | Access modes of persistent disk | | cache.persistence.annotations | object | `{}` | Annotations for PVCs | | cache.persistence.name | string | `""` | Config name | | cache.persistence.size | string | `"5Gi"` | Size of persistent disk | -| config | object | `{"persistence":{"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config.persistence.accessModes | list | `["ReadWriteOnce"]` | Access modes of persistent disk | | config.persistence.annotations | object | `{}` | Annotations for PVCs | | config.persistence.name | string | `""` | Config name | | config.persistence.size | string | `"5Gi"` | Size of persistent disk | @@ -66,5 +68,6 @@ helm repo add adminafk https://helm-charts.adminafk.fr | 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 | | tolerations | list | `[]` | | +| updateStrategyType | string | `"OnDelete"` | Deployment update strategy | | volumeMounts | list | `[]` | Additional volumeMounts on the output Deployment definition. | | volumes | list | `[]` | Additional volumes on the output Deployment definition. | \ No newline at end of file diff --git a/charts/jellyfin/templates/deployment.yaml b/charts/jellyfin/templates/deployment.yaml index 93e3db8..b4be083 100644 --- a/charts/jellyfin/templates/deployment.yaml +++ b/charts/jellyfin/templates/deployment.yaml @@ -8,6 +8,8 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + updateStrategy: + type: {{ .Values.updateStrategyType }} selector: matchLabels: {{- include "jellyfin.selectorLabels" . | nindent 6 }} diff --git a/charts/jellyfin/templates/persistentvolumeclaim-cache.yaml b/charts/jellyfin/templates/persistentvolumeclaim-cache.yaml index b55ee92..0d4c928 100644 --- a/charts/jellyfin/templates/persistentvolumeclaim-cache.yaml +++ b/charts/jellyfin/templates/persistentvolumeclaim-cache.yaml @@ -5,8 +5,10 @@ metadata: labels: {{- include "jellyfin.labels" . | nindent 4 }} spec: + {{- with .Values.cache.persistence.accessModes }} accessModes: - - ReadWriteOnce + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.cache.persistence.storageClass }} storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }} {{- end }} diff --git a/charts/jellyfin/templates/persistentvolumeclaim-config.yaml b/charts/jellyfin/templates/persistentvolumeclaim-config.yaml index ab2346a..680be6d 100644 --- a/charts/jellyfin/templates/persistentvolumeclaim-config.yaml +++ b/charts/jellyfin/templates/persistentvolumeclaim-config.yaml @@ -5,8 +5,10 @@ metadata: labels: {{- include "jellyfin.labels" . | nindent 4 }} spec: + {{- with .Values.config.persistence.accessModes }} accessModes: - - ReadWriteOnce + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.config.persistence.storageClass }} storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }} {{- end }} diff --git a/charts/jellyfin/values.yaml b/charts/jellyfin/values.yaml index f8a9baf..5de3108 100644 --- a/charts/jellyfin/values.yaml +++ b/charts/jellyfin/values.yaml @@ -12,6 +12,9 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +# -- Deployment update strategy +updateStrategyType: "OnDelete" + # -- Environment variables to add to the jellyseerr pods extraEnv: [] # -- Environment variables from secrets or configmaps to add to the jellyseerr pods @@ -53,6 +56,9 @@ config: size: 5Gi # -- Annotations for PVCs annotations: {} + # -- Access modes of persistent disk + accessModes: + - ReadWriteOnce # -- Config name name: "" @@ -63,6 +69,9 @@ cache: size: 5Gi # -- Annotations for PVCs annotations: {} + # -- Access modes of persistent disk + accessModes: + - ReadWriteOnce # -- Config name name: "" diff --git a/charts/jellyseerr/Chart.yaml b/charts/jellyseerr/Chart.yaml index 29e56d5..e344080 100644 --- a/charts/jellyseerr/Chart.yaml +++ b/charts/jellyseerr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: jellyseerr description: jellyseerr helm chart for Kubernetes type: application -version: 0.1.0 +version: 0.1.1 # image: fallenbagel/jellyseerr appVersion: "1.7.0" sources: diff --git a/charts/jellyseerr/README.md b/charts/jellyseerr/README.md index 7640d02..c796c0b 100644 --- a/charts/jellyseerr/README.md +++ b/charts/jellyseerr/README.md @@ -1,6 +1,6 @@ # jellyseerr -![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: 1.7.0](https://img.shields.io/badge/AppVersion-1.7.0-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: 1.7.0](https://img.shields.io/badge/AppVersion-1.7.0-informational?style=flat-square) jellyseerr helm chart for Kubernetes @@ -27,7 +27,8 @@ helm repo add adminafk https://helm-charts.adminafk.fr | autoscaling.maxReplicas | int | `100` | | | autoscaling.minReplicas | int | `1` | | | autoscaling.targetCPUUtilizationPercentage | int | `80` | | -| config | object | `{"persistence":{"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config.persistence.accessModes | list | `["ReadWriteOnce"]` | Access modes of persistent disk | | config.persistence.annotations | object | `{}` | Annotations for PVCs | | config.persistence.name | string | `""` | Config name | | config.persistence.size | string | `"5Gi"` | Size of persistent disk | @@ -61,4 +62,5 @@ 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 | -| tolerations | list | `[]` | | \ No newline at end of file +| tolerations | list | `[]` | | +| updateStrategyType | string | `"OnDelete"` | Deployment update strategy | \ No newline at end of file diff --git a/charts/jellyseerr/templates/deployment.yaml b/charts/jellyseerr/templates/deployment.yaml index 7caf601..676d3b0 100644 --- a/charts/jellyseerr/templates/deployment.yaml +++ b/charts/jellyseerr/templates/deployment.yaml @@ -8,6 +8,8 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + updateStrategy: + type: {{ .Values.updateStrategyType }} selector: matchLabels: {{- include "jellyseerr.selectorLabels" . | nindent 6 }} diff --git a/charts/jellyseerr/templates/persistentvolumeclaim.yaml b/charts/jellyseerr/templates/persistentvolumeclaim.yaml index 313297a..efb7703 100644 --- a/charts/jellyseerr/templates/persistentvolumeclaim.yaml +++ b/charts/jellyseerr/templates/persistentvolumeclaim.yaml @@ -5,8 +5,10 @@ metadata: labels: {{- include "jellyseerr.labels" . | nindent 4 }} spec: + {{- with .Values.config.persistence.accessModes }} accessModes: - - ReadWriteOnce + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.config.persistence.storageClass }} storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }} {{- end }} diff --git a/charts/jellyseerr/values.yaml b/charts/jellyseerr/values.yaml index 9be5e3d..6fc2826 100644 --- a/charts/jellyseerr/values.yaml +++ b/charts/jellyseerr/values.yaml @@ -12,6 +12,9 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +# -- Deployment update strategy +updateStrategyType: "OnDelete" + # -- Environment variables to add to the jellyseerr pods extraEnv: [] # -- Environment variables from secrets or configmaps to add to the jellyseerr pods @@ -53,6 +56,9 @@ config: size: 5Gi # -- Annotations for PVCs annotations: {} + # -- Access modes of persistent disk + accessModes: + - ReadWriteOnce # -- Config name name: "" diff --git a/charts/prowlarr/Chart.yaml b/charts/prowlarr/Chart.yaml index 755dc78..46b74b5 100644 --- a/charts/prowlarr/Chart.yaml +++ b/charts/prowlarr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: prowlarr description: prowlarr helm chart for Kubernetes type: application -version: 0.1.2 +version: 0.1.3 # image: linuxserver/prowlarr appVersion: "1.15.0" sources: diff --git a/charts/prowlarr/README.md b/charts/prowlarr/README.md index 5370bb0..a5c6873 100644 --- a/charts/prowlarr/README.md +++ b/charts/prowlarr/README.md @@ -1,6 +1,6 @@ # prowlarr -![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: 1.15.0](https://img.shields.io/badge/AppVersion-1.15.0-informational?style=flat-square) +![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.15.0](https://img.shields.io/badge/AppVersion-1.15.0-informational?style=flat-square) prowlarr helm chart for Kubernetes @@ -27,7 +27,8 @@ helm repo add adminafk https://helm-charts.adminafk.fr | autoscaling.maxReplicas | int | `100` | | | autoscaling.minReplicas | int | `1` | | | autoscaling.targetCPUUtilizationPercentage | int | `80` | | -| config | object | `{"persistence":{"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config.persistence.accessModes | list | `["ReadWriteOnce"]` | Access modes of persistent disk | | config.persistence.annotations | object | `{}` | Annotations for PVCs | | config.persistence.name | string | `""` | Config name | | config.persistence.size | string | `"5Gi"` | Size of persistent disk | @@ -61,4 +62,5 @@ 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 | -| tolerations | list | `[]` | | \ No newline at end of file +| tolerations | list | `[]` | | +| updateStrategyType | string | `"OnDelete"` | Deployment update strategy | \ No newline at end of file diff --git a/charts/prowlarr/templates/deployment.yaml b/charts/prowlarr/templates/deployment.yaml index 02d2d73..f5c6b18 100644 --- a/charts/prowlarr/templates/deployment.yaml +++ b/charts/prowlarr/templates/deployment.yaml @@ -8,6 +8,8 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + updateStrategy: + type: {{ .Values.updateStrategyType }} selector: matchLabels: {{- include "prowlarr.selectorLabels" . | nindent 6 }} diff --git a/charts/prowlarr/templates/persistentvolumeclaim.yaml b/charts/prowlarr/templates/persistentvolumeclaim.yaml index 48b9084..a2571be 100644 --- a/charts/prowlarr/templates/persistentvolumeclaim.yaml +++ b/charts/prowlarr/templates/persistentvolumeclaim.yaml @@ -5,8 +5,10 @@ metadata: labels: {{- include "prowlarr.labels" . | nindent 4 }} spec: + {{- with .Values.config.persistence.accessModes }} accessModes: - - ReadWriteOnce + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.config.persistence.storageClass }} storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }} {{- end }} diff --git a/charts/prowlarr/values.yaml b/charts/prowlarr/values.yaml index 4c24413..f284e31 100644 --- a/charts/prowlarr/values.yaml +++ b/charts/prowlarr/values.yaml @@ -12,6 +12,9 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +# -- Deployment update strategy +updateStrategyType: "OnDelete" + # -- Environment variables to add to the prowlarr pods extraEnv: [] # -- Environment variables from secrets or configmaps to add to the prowlarr pods @@ -53,6 +56,9 @@ config: size: 5Gi # -- Annotations for PVCs annotations: {} + # -- Access modes of persistent disk + accessModes: + - ReadWriteOnce # -- Config name name: "" diff --git a/charts/qbittorrent/Chart.yaml b/charts/qbittorrent/Chart.yaml index 9834082..f0ae407 100644 --- a/charts/qbittorrent/Chart.yaml +++ b/charts/qbittorrent/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: qbittorrent description: qbittorrent helm chart for Kubernetes type: application -version: 0.2.5 +version: 0.2.6 # image: ghcr.io/qbittorrent/docker-qbittorrent-nox appVersion: "4.6.4-1" sources: diff --git a/charts/qbittorrent/README.md b/charts/qbittorrent/README.md index 9bdfcfe..3002f2b 100644 --- a/charts/qbittorrent/README.md +++ b/charts/qbittorrent/README.md @@ -1,6 +1,6 @@ # qbittorrent -![Version: 0.2.5](https://img.shields.io/badge/Version-0.2.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.6.4-1](https://img.shields.io/badge/AppVersion-4.6.4--1-informational?style=flat-square) +![Version: 0.2.6](https://img.shields.io/badge/Version-0.2.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.6.4-1](https://img.shields.io/badge/AppVersion-4.6.4--1-informational?style=flat-square) qbittorrent helm chart for Kubernetes @@ -27,7 +27,8 @@ helm repo add adminafk https://helm-charts.adminafk.fr | autoscaling.maxReplicas | int | `100` | | | autoscaling.minReplicas | int | `1` | | | autoscaling.targetCPUUtilizationPercentage | int | `80` | | -| config | object | `{"persistence":{"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config.persistence.accessModes | list | `["ReadWriteOnce"]` | Access modes of persistent disk | | config.persistence.annotations | object | `{}` | Annotations for PVCs | | config.persistence.name | string | `""` | Config name | | config.persistence.size | string | `"5Gi"` | Size of persistent disk | @@ -77,5 +78,6 @@ helm repo add adminafk https://helm-charts.adminafk.fr | 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 | | tolerations | list | `[]` | | +| updateStrategyType | string | `"OnDelete"` | Deployment update strategy | | volumeMounts | list | `[]` | Additional volumeMounts on the output Deployment definition. | | volumes | list | `[]` | Additional volumes on the output Deployment definition. | \ No newline at end of file diff --git a/charts/qbittorrent/templates/deployment.yaml b/charts/qbittorrent/templates/deployment.yaml index 597bd17..a9571d9 100644 --- a/charts/qbittorrent/templates/deployment.yaml +++ b/charts/qbittorrent/templates/deployment.yaml @@ -8,6 +8,8 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + updateStrategy: + type: {{ .Values.updateStrategyType }} selector: matchLabels: {{- include "qbittorrent.selectorLabels" . | nindent 6 }} diff --git a/charts/qbittorrent/templates/persistentvolumeclaim.yaml b/charts/qbittorrent/templates/persistentvolumeclaim.yaml index 24ca4ed..54b687e 100644 --- a/charts/qbittorrent/templates/persistentvolumeclaim.yaml +++ b/charts/qbittorrent/templates/persistentvolumeclaim.yaml @@ -5,8 +5,10 @@ metadata: labels: {{- include "qbittorrent.labels" . | nindent 4 }} spec: + {{- with .Values.config.persistence.accessModes }} accessModes: - - ReadWriteOnce + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.config.persistence.storageClass }} storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }} {{- end }} diff --git a/charts/qbittorrent/values.yaml b/charts/qbittorrent/values.yaml index d4abee8..046eb25 100644 --- a/charts/qbittorrent/values.yaml +++ b/charts/qbittorrent/values.yaml @@ -12,6 +12,9 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +# -- Deployment update strategy +updateStrategyType: "OnDelete" + # -- Environment variables to add to the qbittorrent pods extraEnv: [] # -- Environment variables from secrets or configmaps to add to the qbittorrent pods @@ -61,6 +64,9 @@ config: size: 5Gi # -- Annotations for PVCs annotations: {} + # -- Access modes of persistent disk + accessModes: + - ReadWriteOnce # -- Config name name: "" diff --git a/charts/radarr/Chart.yaml b/charts/radarr/Chart.yaml index 37a07f7..831ab70 100644 --- a/charts/radarr/Chart.yaml +++ b/charts/radarr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: radarr description: radarr helm chart for Kubernetes type: application -version: 0.1.3 +version: 0.1.4 # image: linuxserver/radarr appVersion: "5.3.6" sources: diff --git a/charts/radarr/README.md b/charts/radarr/README.md index 48ca6af..cf6aa73 100644 --- a/charts/radarr/README.md +++ b/charts/radarr/README.md @@ -1,6 +1,6 @@ # radarr -![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 5.3.6](https://img.shields.io/badge/AppVersion-5.3.6-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: 5.3.6](https://img.shields.io/badge/AppVersion-5.3.6-informational?style=flat-square) radarr helm chart for Kubernetes @@ -27,7 +27,8 @@ helm repo add adminafk https://helm-charts.adminafk.fr | autoscaling.maxReplicas | int | `100` | | | autoscaling.minReplicas | int | `1` | | | autoscaling.targetCPUUtilizationPercentage | int | `80` | | -| config | object | `{"persistence":{"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config.persistence.accessModes | list | `["ReadWriteOnce"]` | Access modes of persistent disk | | config.persistence.annotations | object | `{}` | Annotations for PVCs | | config.persistence.name | string | `""` | Config name | | config.persistence.size | string | `"5Gi"` | Size of persistent disk | @@ -62,5 +63,6 @@ helm repo add adminafk https://helm-charts.adminafk.fr | 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 | | tolerations | list | `[]` | | +| updateStrategyType | string | `"OnDelete"` | Deployment update strategy | | volumeMounts | list | `[]` | Additional volumeMounts on the output Deployment definition. | | volumes | list | `[]` | Additional volumes on the output Deployment definition. | \ No newline at end of file diff --git a/charts/radarr/templates/deployment.yaml b/charts/radarr/templates/deployment.yaml index 23e7f1e..6e466e3 100644 --- a/charts/radarr/templates/deployment.yaml +++ b/charts/radarr/templates/deployment.yaml @@ -7,6 +7,8 @@ metadata: spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} + updateStrategy: + type: {{ .Values.updateStrategyType }} {{- end }} selector: matchLabels: diff --git a/charts/radarr/templates/persistentvolumeclaim.yaml b/charts/radarr/templates/persistentvolumeclaim.yaml index 7602e87..d744e77 100644 --- a/charts/radarr/templates/persistentvolumeclaim.yaml +++ b/charts/radarr/templates/persistentvolumeclaim.yaml @@ -5,8 +5,10 @@ metadata: labels: {{- include "radarr.labels" . | nindent 4 }} spec: + {{- with .Values.config.persistence.accessModes }} accessModes: - - ReadWriteOnce + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.config.persistence.storageClass }} storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }} {{- end }} diff --git a/charts/radarr/values.yaml b/charts/radarr/values.yaml index b07415a..5cad39c 100644 --- a/charts/radarr/values.yaml +++ b/charts/radarr/values.yaml @@ -12,6 +12,9 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +# -- Deployment update strategy +updateStrategyType: "OnDelete" + # -- Environment variables to add to the radarr pods extraEnv: [] # -- Environment variables from secrets or configmaps to add to the radarr pods @@ -53,6 +56,9 @@ config: size: 5Gi # -- Annotations for PVCs annotations: {} + # -- Access modes of persistent disk + accessModes: + - ReadWriteOnce # -- Config name name: "" diff --git a/charts/sonarr/Chart.yaml b/charts/sonarr/Chart.yaml index eb52021..c8ab28d 100644 --- a/charts/sonarr/Chart.yaml +++ b/charts/sonarr/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: sonarr description: sonarr helm chart for Kubernetes type: application -version: 0.1.2 +version: 0.1.3 # image: linuxserver/sonarr appVersion: "4.0.3" sources: diff --git a/charts/sonarr/README.md b/charts/sonarr/README.md index 2add169..4f110eb 100644 --- a/charts/sonarr/README.md +++ b/charts/sonarr/README.md @@ -1,6 +1,6 @@ # sonarr -![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: 4.0.3](https://img.shields.io/badge/AppVersion-4.0.3-informational?style=flat-square) +![Version: 0.1.3](https://img.shields.io/badge/Version-0.1.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.0.3](https://img.shields.io/badge/AppVersion-4.0.3-informational?style=flat-square) sonarr helm chart for Kubernetes @@ -27,7 +27,8 @@ helm repo add adminafk https://helm-charts.adminafk.fr | autoscaling.maxReplicas | int | `100` | | | autoscaling.minReplicas | int | `1` | | | autoscaling.targetCPUUtilizationPercentage | int | `80` | | -| config | object | `{"persistence":{"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration | +| config.persistence.accessModes | list | `["ReadWriteOnce"]` | Access modes of persistent disk | | config.persistence.annotations | object | `{}` | Annotations for PVCs | | config.persistence.name | string | `""` | Config name | | config.persistence.size | string | `"5Gi"` | Size of persistent disk | @@ -62,5 +63,6 @@ helm repo add adminafk https://helm-charts.adminafk.fr | 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 | | tolerations | list | `[]` | | +| updateStrategyType | string | `"OnDelete"` | Deployment update strategy | | volumeMounts | list | `[]` | Additional volumeMounts on the output Deployment definition. | | volumes | list | `[]` | Additional volumes on the output Deployment definition. | \ No newline at end of file diff --git a/charts/sonarr/templates/deployment.yaml b/charts/sonarr/templates/deployment.yaml index 1afc818..1519e31 100644 --- a/charts/sonarr/templates/deployment.yaml +++ b/charts/sonarr/templates/deployment.yaml @@ -8,6 +8,8 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + updateStrategy: + type: {{ .Values.updateStrategyType }} selector: matchLabels: {{- include "sonarr.selectorLabels" . | nindent 6 }} diff --git a/charts/sonarr/templates/persistentvolumeclaim.yaml b/charts/sonarr/templates/persistentvolumeclaim.yaml index 9c513f6..dbe7f89 100644 --- a/charts/sonarr/templates/persistentvolumeclaim.yaml +++ b/charts/sonarr/templates/persistentvolumeclaim.yaml @@ -5,8 +5,10 @@ metadata: labels: {{- include "sonarr.labels" . | nindent 4 }} spec: + {{- with .Values.config.persistence.accessModes }} accessModes: - - ReadWriteOnce + {{- toYaml . | nindent 4 }} + {{- end }} {{- with .Values.config.persistence.storageClass }} storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }} {{- end }} diff --git a/charts/sonarr/values.yaml b/charts/sonarr/values.yaml index 56725bb..ecdb770 100644 --- a/charts/sonarr/values.yaml +++ b/charts/sonarr/values.yaml @@ -12,6 +12,9 @@ imagePullSecrets: [] nameOverride: "" fullnameOverride: "" +# -- Deployment update strategy +updateStrategyType: "OnDelete" + # -- Environment variables to add to the sonarr pods extraEnv: [] # -- Environment variables from secrets or configmaps to add to the sonarr pods @@ -53,6 +56,9 @@ config: size: 5Gi # -- Annotations for PVCs annotations: {} + # -- Access modes of persistent disk + accessModes: + - ReadWriteOnce # -- Config name name: ""