noobaa-operator
noobaa-operator copied to clipboard
Adding secretef Webhook For Backingstore and Namespacestore
Explain the changes
- Adding secretef Webhook For Backingstore and Namespacestore to validate that it has namespace in it.
Closing the gap from #914
Signed-off-by: liranmauda [email protected]
Issues:
- Fixed https://bugzilla.redhat.com/show_bug.cgi?id=2084201
Testing Instructions:
- Try to apply a backingstore without a namespace in its secretef
- Try to update backingstore to remove the namespace from its secretef
- Do the above steps on a namespacestore.
- [ ] Tests added
@dannyzaken @kfir-payne please take a look. The PR is in draft so we can look at its logic, once we think it is ok, I will add tests and remove from draft.
@liranmauda I think that for now we can skip the webhook validation for that. let's close
@liranmauda I think that for now we can skip the webhook validation for that. let's close
Closing.