Skip to content

Commit

Permalink
fix: deployment strategy with volume accessModes
Browse files Browse the repository at this point in the history
  • Loading branch information
M0NsTeRRR committed Apr 4, 2024
1 parent c03d666 commit 74d7d5b
Show file tree
Hide file tree
Showing 36 changed files with 122 additions and 32 deletions.
2 changes: 1 addition & 1 deletion charts/bazarr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 4 additions & 2 deletions charts/bazarr/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 |
Expand Down Expand Up @@ -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. |
2 changes: 2 additions & 0 deletions charts/bazarr/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion charts/bazarr/templates/persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/bazarr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -52,6 +55,9 @@ config:
size: 5Gi
# -- Annotations for PVCs
annotations: {}
# -- Access modes of persistent disk
accessModes:
- ReadWriteOnce
# -- Config name
name: ""

Expand Down
2 changes: 1 addition & 1 deletion charts/jellyfin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 6 additions & 3 deletions charts/jellyfin/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 |
Expand Down Expand Up @@ -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. |
2 changes: 2 additions & 0 deletions charts/jellyfin/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion charts/jellyfin/templates/persistentvolumeclaim-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion charts/jellyfin/templates/persistentvolumeclaim-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
9 changes: 9 additions & 0 deletions charts/jellyfin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -53,6 +56,9 @@ config:
size: 5Gi
# -- Annotations for PVCs
annotations: {}
# -- Access modes of persistent disk
accessModes:
- ReadWriteOnce
# -- Config name
name: ""

Expand All @@ -63,6 +69,9 @@ cache:
size: 5Gi
# -- Annotations for PVCs
annotations: {}
# -- Access modes of persistent disk
accessModes:
- ReadWriteOnce
# -- Config name
name: ""

Expand Down
2 changes: 1 addition & 1 deletion charts/jellyseerr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 5 additions & 3 deletions charts/jellyseerr/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 |
Expand Down Expand Up @@ -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 | `[]` | |
| tolerations | list | `[]` | |
| updateStrategyType | string | `"OnDelete"` | Deployment update strategy |
2 changes: 2 additions & 0 deletions charts/jellyseerr/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion charts/jellyseerr/templates/persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/jellyseerr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -53,6 +56,9 @@ config:
size: 5Gi
# -- Annotations for PVCs
annotations: {}
# -- Access modes of persistent disk
accessModes:
- ReadWriteOnce
# -- Config name
name: ""

Expand Down
2 changes: 1 addition & 1 deletion charts/prowlarr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 5 additions & 3 deletions charts/prowlarr/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 |
Expand Down Expand Up @@ -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 | `[]` | |
| tolerations | list | `[]` | |
| updateStrategyType | string | `"OnDelete"` | Deployment update strategy |
2 changes: 2 additions & 0 deletions charts/prowlarr/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion charts/prowlarr/templates/persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/prowlarr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -53,6 +56,9 @@ config:
size: 5Gi
# -- Annotations for PVCs
annotations: {}
# -- Access modes of persistent disk
accessModes:
- ReadWriteOnce
# -- Config name
name: ""

Expand Down
2 changes: 1 addition & 1 deletion charts/qbittorrent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 4 additions & 2 deletions charts/qbittorrent/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 |
Expand Down Expand Up @@ -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. |
2 changes: 2 additions & 0 deletions charts/qbittorrent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion charts/qbittorrent/templates/persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Loading

0 comments on commit 74d7d5b

Please sign in to comment.