Can't set '' as storageClassName on operator produced PVCs
As an openshift operator, sometimes I could want to bind my pvc to a pv without any storage class.
To be able to do this on a cluster with a default sotrage class I should set storageClassName: '' on the pvc spec:
When a default storage class is configured, the PVC must explicitly ask for StorageClass or storageClassName annotations set to "" to be bound to a PV without a storage class.
But the operator won't set a storageClassName when the respective var's value is '' :
Updated by chambridge almost 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp-operator|654991866b78b52a7aac89e558126b87559d421b.