tweise opened a new pull request, #356:
URL: https://github.com/apache/flink-kubernetes-operator/pull/356
## What is the purpose of the change
Allow for upgrade of deployment with stateful upgrade mode that initially
fails due to a non-recoverable error, just like it would be the case when the
deployment ever reached stable spec.
## Brief change log
Check for presence of stable spec before executing logic that assumes
existing state.
## Verifying this change
Tested manually by creating deployments with image pull error for SAVEPOINT
and LAST_STATE upgrade modes. Verified that in either case spec update to valid
image is reconciled and deployment becomes stable.
TODO: add test case
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (**no**)
- The public API, i.e., is any changes to the `CustomResourceDescriptors`:
(**no**)
- Core observer or reconciler logic that is regularly executed: (**yes**)
## Documentation
- Does this pull request introduce a new feature? (**no**)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]