Actions
Issue #8733
closedCan't set '' as storageClassName on operator produced PVCs
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Operator - Moved to Github Issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
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 '' :
https://github.com/pulp/pulp-operator/blob/main/roles/postgres/templates/postgres.yaml.j2#L98-L100
Updated by chambridge over 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to chambridge
Updated by pulpbot over 3 years ago
- Status changed from ASSIGNED to POST
Added by chambridge over 3 years ago
Updated by chambridge over 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp-operator|654991866b78b52a7aac89e558126b87559d421b.
Updated by fao89 about 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Allow user to specify empty string storage class for postgres PVC.
fixes #8733 https://pulp.plan.io/issues/8733