christian-schlichtherle / synology-csi-chart

A Helm chart for installing the Synology CSI Driver in a Kubernetes cluster.
Apache License 2.0
51 stars 21 forks source link

Default StorageClass entries (synology-csi-delete & synology-csi-retain) always get deployed #9

Closed MisterWS closed 1 year ago

MisterWS commented 1 year ago

I'm trying to work out if this is expected behaviour or not - but when I deploy the Helm chart with a set of custom StorageClasses (e.g. synology-csi-smb), these get deployed alongside the default StorageClasses listed in the repo's values.yaml.

The main challenge is that there's no way to get rid of them - so either I have to adjust my naming conventions to match, or I live with additional improperly configured StorageClasses.

Is this what's meant to happen?

christian-schlichtherle commented 1 year ago

You can disable them with Helm variables like so:

  storageClasses:
    delete:
      disabled: true
    retain:
      disabled: true
MisterWS commented 1 year ago

Ah, OK - thanks!