k8s-mediaserver-operator
k8s-mediaserver-operator copied to clipboard
Added a volume with a toggle for each app
Fixes #26
If the volumes are not specified, the default is to put everything on the current storage (where the media is). Each tool can create a persistentVolumeClaim if it's volume field is set.
For example to add a config volume for Sonarr:
sonarr:
enabled: true
# < ... >
volume:
name: pvc-sonarr-config
storageClassName: longhorn
annotations:
my-annotation/test: my-value
labels:
my-label/test: my-other-value
accessModes: ReadWriteOnce
storage: 5Gi
selector: {}
Look good to me, I'll run a couple of tests on it and rebuild the new version of the operator if everything is going as expected. Thanks a lot for the effort!
Sorry for leaving the PR pending this long, I just sent it and completely forgot about it.
Add a space in each README entries between the first column delimiter and the description
fixed
Add dashes in the if/else/end statements to avoid blank lines in template rendering in *-resources.yml
fixed
Same as before in storage-resources.yml file for those that are missing.
I rebased on dc5b9ac5ad282166bff1a2c41b007fc05dbd8b6e and I went through the file and we have all the same sections except the ones I added, but not in the same order? Did you use a linter or something to remake the file?