k8s-mediaserver-operator icon indicating copy to clipboard operation
k8s-mediaserver-operator copied to clipboard

Added a volume with a toggle for each app

Open InputObject2 opened this issue 3 years ago • 1 comments

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: {}

InputObject2 avatar Aug 15 '22 01:08 InputObject2

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!

kubealex avatar Aug 25 '22 20:08 kubealex

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?

InputObject2 avatar Nov 11 '22 04:11 InputObject2