+ || {
+ EMPTY_TEXT_PLACEHOLDER,
+ }
+ }
+ customStatusColumns={customStatusColumns}
+ customConditionsComponents={[
+ {
+ header: t('persistent-volume-claims.headers.capacity'),
+ value: pvc =>
+ pvc.status.capacity ? (
+ Object.entries(pvc?.status?.capacity).map(capacity => {
+ console.log(capacity);
+ return (
+
+ );
+ })
+ ) : (
+
+ {EMPTY_TEXT_PLACEHOLDER}
+
+ ),
+ },
+ ]}
customComponents={[
PVCConfiguration,
PVCPods,
PVCSelectorSpecification,
Events,
]}
- customColumns={customColumns}
description={ResourceDescription}
singularName={t('persistent-volume-claims.name_singular')}
createResourceForm={PersistentVolumeClaimCreate}