gaborgsomogyi commented on code in PR #513:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/513#discussion_r1090606233
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/ApplicationReconciler.java:
##########
@@ -145,6 +147,15 @@ public void deploy(
var relatedResource = ctx.getResource();
var status = relatedResource.getStatus();
var flinkService = ctx.getFlinkService();
+
+ if (spec.getJob().getState().equals(JobState.SUSPENDED)
+ || status.getReconciliationStatus()
+ .getState()
+ .equals(ReconciliationState.UPGRADING)) {
Review Comment:
Well, such case we're more on the safe side so not needed. Removed.
--
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]