Open pchang388 opened 1 year ago
I noticed that once we removed this, you may face an error for immutable/unable to change pvc resource if you were using the annotation method previously. This is because those annotations like storageClasses
are considered immutable and you cannot change or remove those once created.
You could do two things:
storageClasses
moving froward.legacyStorageAnnotations
, and if it is true (default false), then use annotation headers for PVC storage class instead. This is just kicking the can down the road so it is preferred to do option 1
The pvc template in the current helm chart uses the deprecated kubernetes volume annotation:
According to K8 documentation - https://kubernetes.io/docs/concepts/storage/persistent-volumes/
I noticed this when it caused an issue with some newer software, example - longhorn: https://github.com/longhorn/longhorn/issues/6264, that only looks for
spec.storageClass
instead of annotations.We should push a change/enhancement to remove the deprecated annotation and instead use
spec.storageClass