Skip to content

Commit

Permalink
feat(prowlarr): enable static volume binding in Prowlarr chart
Browse files Browse the repository at this point in the history
* Enable static volume binding in Prowlarr chart

Signed-off-by: Jose Luis Pedrosa <[email protected]>

---------

Signed-off-by: Jose Luis Pedrosa <[email protected]>
Co-authored-by: Ludovic Ortega <[email protected]>
  • Loading branch information
jlpedrosa and M0NsTeRRR authored May 20, 2024
1 parent 368c792 commit 462577a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/prowlarr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kubeVersion: ">=1.23.0-0"
name: prowlarr
description: prowlarr helm chart for Kubernetes
type: application
version: 0.2.5
version: 0.3.0
# image: ghcr.io/onedr0p/prowlarr
appVersion: "1.17.2"
maintainers:
Expand Down
5 changes: 3 additions & 2 deletions charts/prowlarr/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# prowlarr

![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: 1.17.2](https://img.shields.io/badge/AppVersion-1.17.2-informational?style=flat-square)
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.17.2](https://img.shields.io/badge/AppVersion-1.17.2-informational?style=flat-square)

prowlarr helm chart for Kubernetes

Expand Down Expand Up @@ -37,11 +37,12 @@ helm repo add adminafk https://helm-charts.adminafk.fr
| autoscaling.maxReplicas | int | `100` | |
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"name":"","size":"5Gi"}}` | Creating PVC to store configuration |
| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"name":"","size":"5Gi","volumeName":""}}` | 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 |
| config.persistence.volumeName | string | `""` | Name of the permanent volume to reference in the claim. Can be used to bind to existing volumes. |
| extraEnv | list | `[]` | Environment variables to add to the prowlarr pods |
| extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the prowlarr pods |
| fullnameOverride | string | `""` | |
Expand Down
3 changes: 3 additions & 0 deletions charts/prowlarr/templates/persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ spec:
accessModes:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if .Values.config.persistence.volumeName }}
volumeName: {{ .Values.config.persistence.volumeName }}
{{- end }}
{{- with .Values.config.persistence.storageClass }}
storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/prowlarr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ config:
- ReadWriteOnce
# -- Config name
name: ""
# -- Name of the permanent volume to reference in the claim.
# Can be used to bind to existing volumes.
volumeName: ""

ingress:
enabled: false
Expand Down

0 comments on commit 462577a

Please sign in to comment.