Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

feature(infra): added delete pv api#251

Merged
nxtcoder17 merged 3 commits into
release-v1.0.1from
feature/pv-deletion
Feb 6, 2024
Merged

feature(infra): added delete pv api#251
nxtcoder17 merged 3 commits into
release-v1.0.1from
feature/pv-deletion

Conversation

@nxtcoder19
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Type: Enhancement

PR Summary: This pull request introduces a new API for deleting persistent volumes (PVs) within the infrastructure management system. It includes backend changes to support this functionality, such as updates to GraphQL schema, resolver implementations, and domain logic. Additionally, it refactors the way target namespaces are generated during environment cloning and adjusts the display name for cloned resources.

Decision: Comment

📝 Type: 'Enhancement' - not supported yet.
  • Sourcery currently only approves 'Typo fix' PRs.
✅ Issue addressed: this change correctly addresses the issue or implements the desired feature.
No details provided.
📝 Complexity: the changes are too large or complex for Sourcery to approve.
  • Unsupported files: the diff contains files that Sourcery does not currently support during reviews.

General suggestions:

  • Ensure that the permission check for deleting a PV is appropriate and specific to PV deletion. The current implementation uses a permission check for deleting node pools, which might not be correct.
  • Review the changes made to the environment cloning functionality, specifically the generation of target namespaces and the setting of display names for cloned resources, to ensure they align with the intended behavior and do not introduce regressions.
  • Consider adding more context to the PR description to help reviewers understand the motivation behind these changes and how they fit into the larger system.

Thanks for using Sourcery. We offer it for free for open source projects and would be very grateful if you could help us grow. If you like it, would you consider sharing Sourcery on your favourite social media? ✨

Share Sourcery

Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

Comment thread apps/infra/internal/domain/pv.go
@nxtcoder17 nxtcoder17 merged commit cb368e1 into release-v1.0.1 Feb 6, 2024
@nxtcoder17 nxtcoder17 deleted the feature/pv-deletion branch February 6, 2024 12:07
abdheshnayak pushed a commit that referenced this pull request Nov 5, 2024
feature(infra): added delete pv api
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants