diff --git a/app/react/kubernetes/applications/components/ApplicationSummarySection/utils.ts b/app/react/kubernetes/applications/components/ApplicationSummarySection/utils.ts index 3bebc20e5..c9c99fe68 100644 --- a/app/react/kubernetes/applications/components/ApplicationSummarySection/utils.ts +++ b/app/react/kubernetes/applications/components/ApplicationSummarySection/utils.ts @@ -93,7 +93,10 @@ function getCreatedApplicationResourcesNew( // statefulset pvcs are defined in spec.volumeClaimTemplates. // https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-storage formValues.DataAccessPolicy === 'Shared' - ? formValues.PersistedFolders?.map((volume) => ({ + ? formValues.PersistedFolders?.filter( + // only create pvc summaries for new pvcss + (volume) => !volume.existingVolume?.PersistentVolumeClaim.Name + ).map((volume) => ({ action: 'Create', kind: 'PersistentVolumeClaim', name: