Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add validation webhook for protected resources #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zmotso
Copy link
Contributor

@zmotso zmotso commented Feb 24, 2025

Pull Request Template

Description

To protect resources from deletion/updating added label app.edp.epam.com/edit-protection.
The label can have values: delete update delete-update

Fixes #176

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (non-breaking change which improves an existing feature or documentation)
  • Breaking change (fix or feature that would cause existing functionality not to work as expected)

How Has This Been Tested?

  • Unit tests
  • Manual testing

Checklist:

  • I have performed a self-review of my code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Pull Request contains one commit. I squash my commits.

To protect resources from deletion/updating added label
`app.edp.epam.com/edit-protection`.
The label can have values: delete update delete-update
@zmotso zmotso added the enhancement New feature or request label Feb 24, 2025
@zmotso zmotso self-assigned this Feb 24, 2025
@zmotso zmotso requested a review from a team as a code owner February 24, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Implement Update/Delete protection for Custom Resources
1 participant