Skip to content

Commit

Permalink
Dont' add workspace as owner reference on persistent volume
Browse files Browse the repository at this point in the history
This will through an error otherwise
  • Loading branch information
jfaltermeier committed Dec 18, 2024
1 parent 2014e84 commit f3b94bb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ public Optional<PersistentVolume> createAndApplyPersistentVolume(String correlat
e);
return Optional.empty();
}
return client.persistentVolumesClient().loadAndCreate(correlationId, persistentVolumeYaml,
volume -> volume.addOwnerReference(workspace));
return client.persistentVolumesClient().loadAndCreate(correlationId, persistentVolumeYaml);
}

@Override
Expand Down

0 comments on commit f3b94bb

Please sign in to comment.