We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/operator-framework/josdk-webhooks/blob/main/core/src/main/java/io/javaoperatorsdk/webhook/admission/validation/Validator.java takes only the current resource for validation
Shouldn't we be able to retrieve the oldResource on https://github.com/operator-framework/josdk-webhooks/blob/main/core/src/main/java/io/javaoperatorsdk/webhook/admission/validation/DefaultAdmissionRequestValidator.java#L27 for validation
So that we can validate immutable field between the oldResource and the current resource?
The text was updated successfully, but these errors were encountered:
Hi yes, that might be usevul in some case, that is breaking change but we can release a new major version.
Would you able to create a PR for that?
Sorry, something went wrong.
Sure I can submit a PR. Fine for me if we accept the breaking change to pass the oldResource on validation interface
Successfully merging a pull request may close this issue.
https://github.com/operator-framework/josdk-webhooks/blob/main/core/src/main/java/io/javaoperatorsdk/webhook/admission/validation/Validator.java takes only the current resource for validation
Shouldn't we be able to retrieve the oldResource on https://github.com/operator-framework/josdk-webhooks/blob/main/core/src/main/java/io/javaoperatorsdk/webhook/admission/validation/DefaultAdmissionRequestValidator.java#L27 for validation
So that we can validate immutable field between the oldResource and the current resource?
The text was updated successfully, but these errors were encountered: